Skip to content

#0908eb

a balanced, electric blue · cool · closest name: Blue

RGB
9, 8, 235
HSL
240°, 93%, 48%
CMYK
96, 97, 0, 8
Luminance
0.0623

At a glance

Every number on this page in one read: what #0908eb is made of, how bright it looks, and which way it leans.

Hex
#0908eb
Hue
240°
blue
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0623
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.35:1
Closest name
Blue
ΔE2000 2.3
Where it sits
Hue240° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool83% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0908eb
RGBrgb(9, 8, 235)
HSLhsl(240, 93%, 48%)
CMYKcmyk(96%, 97%, 0%, 8%)
LABlab(30.0 73.2 -100.4)
LCHlch(30.0 124.3 306.1)
OKLCHoklch(0.429 0.291 264.8)
Decimal592107
Display P3color(display-p3 0.035 0.031 0.922)

Copy-ready code

/* CSS */
color: #0908eb;
background-color: #0908eb;
/* Tailwind (arbitrary) */
class="text-[#0908eb] bg-[#0908eb]"
/* SCSS */
$brand: #0908eb;
/* SwiftUI */
Color(red: 0.035, green: 0.031, blue: 0.922)
/* Android */
Color.parseColor("#0908eb")
/* Flutter */
Color(0xFF0908EB)
/* Python / OpenCV (BGR) */
(235, 8, 9)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #0908eb · 9.35:1
Use #ffffffAAA at every size.
Aa
White text · 9.35:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.25:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0908eb as text scores 9.35:1 on white and 2.25:1 on black.

Accessibility — WCAG contrast

Aa
#0908eb on white: 9.35:1
AA ✓ pass · AA-large · AAA
Aa
#0908eb on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052F0
deuteranopia · #003AE8
tritanopia · #00638A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0908eb is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F2FD
#E4E4FB
#C2C2F9
#9393FB
#5D5CF9
#2726F8
#0908eb
#0807C5
#06059E
#090972
#060547
Base = 600Lightest = 50 · #F2F2FDDarkest = 950 · #060547
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E4E4FB;
  --brand-200: #C2C2F9;
  --brand-300: #9393FB;
  --brand-400: #5D5CF9;
  --brand-500: #2726F8;
  --brand-600: #0908eb;
  --brand-700: #0807C5;
  --brand-800: #06059E;
  --brand-900: #090972;
  --brand-950: #060547;
  --brand: #0908eb;
  --brand-ink: #ffffff;
}

Colors that work with #0908eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F4FA
Tinted page background
Border#C0C0ED
Hairlines and dividers
Muted text#4B4B9B
Captions on the surface
Accent#C99903
Second voice, not a rival
Dark variant#05047B
Hover, pressed, headers
Light variant#E6E6FE
Selected rows, tints
Dark surface#141424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0908eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#EAEB08
Analogous left#0878EB
Analogous right#7B08EB
Split-complement 1#EB7B08
Split-complement 2#78EB08
Triadic 1#EB0908
Triadic 2#08EB09
Tetradic#EB0878

RGB percentages

Red3.5%
Green3.1%
Blue92.2%

CMYK percentages

Cyan96.2%
Magenta96.6%
Yellow0.0%
Key (black)7.8%

Color previews

#0908eb text on a black background

contrast 2.25:1

Card sample

#0908eb text on a white background

contrast 9.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0908eb;
Background color
Panel with #0908eb background
background-color: #0908eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0908eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(9, 8, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 8, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0908eb;
background: linear-gradient(135deg, #0908eb, #A008EB);

Monochromatic scale

Palettes built from #0908eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0908eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0908eb, answered

What color is #0908eb?

#0908eb is a balanced electric blue, closest to Blue (ΔE2000 2.3). It sits at 240° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #0908eb?

rgb(9, 8, 235) — 9 red, 8 green and 235 blue out of 255, or 3.5% / 3.1% / 92.2% by channel.

Is #0908eb a light or a dark color?

It is a dark color. Relative luminance is 0.0623 and perceived brightness is 31%, so white text on it reaches 9.35:1.

Should I use black or white text on #0908eb?

White. It scores 9.35:1 against #0908eb, versus 2.25:1 for black — AAA at any size.

What is the complementary color of #0908eb?

#EAEB08 sits directly opposite on the wheel. Softer options are the split-complements #EB7B08 and #78EB08, which give the same contrast with far less vibration.

What colors go well with #0908eb?

For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4B4B9B for secondary text, #C99903 as an accent and #05047B for hover and pressed states. For a palette, the analogous pair #0878EB and #7B08EB stays calm, while #EAEB08 is the loudest partner.

What is #0908eb in CMYK for printing?

cmyk(96%, 97%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #0908eb warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C08EB; nudged cooler, #0637ED.

Work with #0908eb in the Color Lab