Skip to content

#1908af

a dark, electric blue · cool · closest name: Medium Blue

RGB
25, 8, 175
HSL
246°, 91%, 36%
CMYK
86, 95, 0, 31
Luminance
0.0348

At a glance

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

Hex
#1908af
Hue
246°
blue
Saturation
91%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0348
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
12.39:1
Closest name
Medium Blue
ΔE2000 3.5
Where it sits
Hue246° of 360°
Saturation91%
Lightness36%
Temperature
Warm ← → Cool80% 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#1908af
RGBrgb(25, 8, 175)
HSLhsl(246, 91%, 36%)
CMYKcmyk(86%, 95%, 0%, 31%)
LABlab(21.9 58.0 -78.9)
LCHlch(21.9 97.9 306.3)
OKLCHoklch(0.353 0.228 268.7)
Decimal1640623
Display P3color(display-p3 0.098 0.031 0.686)

Copy-ready code

/* CSS */
color: #1908af;
background-color: #1908af;
/* Tailwind (arbitrary) */
class="text-[#1908af] bg-[#1908af]"
/* SCSS */
$brand: #1908af;
/* SwiftUI */
Color(red: 0.098, green: 0.031, blue: 0.686)
/* Android */
Color.parseColor("#1908af")
/* Flutter */
Color(0xFF1908AF)
/* Python / OpenCV (BGR) */
(175, 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 #1908af · 12.39:1
Use #ffffffAAA at every size.
Aa
White text · 12.39:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.70:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1908af as text scores 12.39:1 on white and 1.70:1 on black.

Accessibility — WCAG contrast

Aa
#1908af on white: 12.39:1
AA ✓ pass · AA-large · AAA
Aa
#1908af on black: 1.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003CB3
deuteranopia · #002CAD
tritanopia · #004866

Color scale — 50 to 950

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

#F3F2FD
#E7E4FB
#C8C3F9
#9E94FA
#6E5EF8
#3D28F5
#210BEA
#1C09C3
#1908af
#140A71
#0D0646
Base = 800Lightest = 50 · #F3F2FDDarkest = 950 · #0D0646
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E7E4FB;
  --brand-200: #C8C3F9;
  --brand-300: #9E94FA;
  --brand-400: #6E5EF8;
  --brand-500: #3D28F5;
  --brand-600: #210BEA;
  --brand-700: #1C09C3;
  --brand-800: #1908af;
  --brand-900: #140A71;
  --brand-950: #0D0646;
  --brand: #1908af;
  --brand-ink: #ffffff;
}

Colors that work with #1908af

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#C4C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#C8AB04
Second voice, not a rival
Dark variant#11067A
Hover, pressed, headers
Light variant#E9E7FE
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 #1908af

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#9EAF08
Analogous left#084BAF
Analogous right#6D08AF
Split-complement 1#AF6D08
Split-complement 2#4BAF08
Triadic 1#AF1908
Triadic 2#08AF19
Tetradic#AF084B

RGB percentages

Red9.8%
Green3.1%
Blue68.6%

CMYK percentages

Cyan85.7%
Magenta95.4%
Yellow0.0%
Key (black)31.4%

Color previews

#1908af text on a black background

contrast 1.70:1

Card sample

#1908af text on a white background

contrast 12.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1908af

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.

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

#1908af, answered

What color is #1908af?

#1908af is a dark electric blue, closest to Medium Blue (ΔE2000 3.5). It sits at 246° on the hue wheel with 91% saturation and 36% lightness, which reads as cool.

What is the RGB value of #1908af?

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

Is #1908af a light or a dark color?

It is a dark color. Relative luminance is 0.0348 and perceived brightness is 24%, so white text on it reaches 12.39:1.

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

White. It scores 12.39:1 against #1908af, versus 1.70:1 for black — AAA at any size.

What is the complementary color of #1908af?

#9EAF08 sits directly opposite on the wheel. Softer options are the split-complements #AF6D08 and #4BAF08, which give the same contrast with far less vibration.

What colors go well with #1908af?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #C8AB04 as an accent and #11067A for hover and pressed states. For a palette, the analogous pair #084BAF and #6D08AF stays calm, while #9EAF08 is the loudest partner.

What is #1908af in CMYK for printing?

cmyk(86%, 95%, 0%, 31%). 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 #1908af warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5608AF; nudged cooler, #062BB1.

Work with #1908af in the Color Lab