Skip to content

#1908ec

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

RGB
25, 8, 236
HSL
245°, 93%, 48%
CMYK
89, 97, 0, 8
Luminance
0.0644

At a glance

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

Hex
#1908ec
Hue
245°
blue
Saturation
93%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0644
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.18:1
Closest name
Blue
ΔE2000 2
Where it sits
Hue245° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool81% 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#1908ec
RGBrgb(25, 8, 236)
HSLhsl(245, 93%, 48%)
CMYKcmyk(89%, 97%, 0%, 8%)
LABlab(30.5 73.5 -100.2)
LCHlch(30.5 124.2 306.3)
OKLCHoklch(0.434 0.290 266.5)
Decimal1640684
Display P3color(display-p3 0.098 0.031 0.925)

Copy-ready code

/* CSS */
color: #1908ec;
background-color: #1908ec;
/* Tailwind (arbitrary) */
class="text-[#1908ec] bg-[#1908ec]"
/* SCSS */
$brand: #1908ec;
/* SwiftUI */
Color(red: 0.098, green: 0.031, blue: 0.925)
/* Android */
Color.parseColor("#1908ec")
/* Flutter */
Color(0xFF1908EC)
/* Python / OpenCV (BGR) */
(236, 8, 25)

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 #1908ec · 9.18:1
Use #ffffffAAA at every size.
Aa
White text · 9.18:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.29:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1908ec as text scores 9.18:1 on white and 2.29:1 on black.

Accessibility — WCAG contrast

Aa
#1908ec on white: 9.18:1
AA ✓ pass · AA-large · AAA
Aa
#1908ec on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053F1
deuteranopia · #003BE9
tritanopia · #00638B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1908ec 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
#E6E4FB
#C6C2F9
#9A93FB
#685CF9
#3626F8
#1908ec
#1507C5
#11059E
#110972
#0A0547
Base = 600Lightest = 50 · #F2F2FDDarkest = 950 · #0A0547
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E6E4FB;
  --brand-200: #C6C2F9;
  --brand-300: #9A93FB;
  --brand-400: #685CF9;
  --brand-500: #3626F8;
  --brand-600: #1908ec;
  --brand-700: #1507C5;
  --brand-800: #11059E;
  --brand-900: #110972;
  --brand-950: #0A0547;
  --brand: #1908ec;
  --brand-ink: #ffffff;
}

Colors that work with #1908ec

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#F5F4FA
Tinted page background
Border#C3C0ED
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#C9A603
Second voice, not a rival
Dark variant#0D047B
Hover, pressed, headers
Light variant#E8E6FE
Selected rows, tints
Dark surface#151424
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 #1908ec

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#DBEC08
Analogous left#0869EC
Analogous right#8B08EC
Split-complement 1#EC8B08
Split-complement 2#69EC08
Triadic 1#EC1908
Triadic 2#08EC19
Tetradic#EC0869

RGB percentages

Red9.8%
Green3.1%
Blue92.5%

CMYK percentages

Cyan89.4%
Magenta96.6%
Yellow0.0%
Key (black)7.5%

Color previews

#1908ec text on a black background

contrast 2.29:1

Card sample

#1908ec text on a white background

contrast 9.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1908ec;
Background color
Panel with #1908ec background
background-color: #1908ec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1908ec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(25, 8, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 8, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1908ec;
background: linear-gradient(135deg, #1908ec, #B108EC);

Monochromatic scale

Palettes built from #1908ec

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.

#1908ec 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.

#1908ec, answered

What color is #1908ec?

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

What is the RGB value of #1908ec?

rgb(25, 8, 236) — 25 red, 8 green and 236 blue out of 255, or 9.8% / 3.1% / 92.5% by channel.

Is #1908ec a light or a dark color?

It is a dark color. Relative luminance is 0.0644 and perceived brightness is 32%, so white text on it reaches 9.18:1.

Should I use black or white text on #1908ec?

White. It scores 9.18:1 against #1908ec, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #1908ec?

#DBEC08 sits directly opposite on the wheel. Softer options are the split-complements #EC8B08 and #69EC08, which give the same contrast with far less vibration.

What colors go well with #1908ec?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #514B9B for secondary text, #C9A603 as an accent and #0D047B for hover and pressed states. For a palette, the analogous pair #0869EC and #8B08EC stays calm, while #DBEC08 is the loudest partner.

What is #1908ec in CMYK for printing?

cmyk(89%, 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 #1908ec warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6D08EC; nudged cooler, #0630EE.

Work with #1908ec in the Color Lab