Skip to content

#19087f

a dark, electric blue · cool · closest name: Navy

RGB
25, 8, 127
HSL
249°, 88%, 27%
CMYK
80, 94, 0, 50
Luminance
0.0191

At a glance

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

Hex
#19087f
Hue
249°
blue
Saturation
88%
electric
Lightness
27%
dark
Brightness
50%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0191
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
White
15.19:1
Closest name
Navy
ΔE2000 1.7
Where it sits
Hue249° of 360°
Saturation88%
Lightness27%
Temperature
Warm ← → Cool79% 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#19087f
RGBrgb(25, 8, 127)
HSLhsl(249, 88%, 27%)
CMYKcmyk(80%, 94%, 0%, 50%)
LABlab(15.0 44.7 -60.6)
LCHlch(15.0 75.3 306.4)
OKLCHoklch(0.288 0.175 272.6)
Decimal1640575
Display P3color(display-p3 0.098 0.031 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#19087f on white: 15.19:1
AA ✓ pass · AA-large · AAA
Aa
#19087f on black: 1.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002B82
deuteranopia · #00207D
tritanopia · #003349

Color scale — 50 to 950

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

#F4F2FD
#E8E5FA
#CBC4F8
#A495F8
#7661F5
#482CF2
#2D0FE6
#260CC0
#1E0A99
#19087f
#100745
Base = 900Lightest = 50 · #F4F2FDDarkest = 950 · #100745
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CBC4F8;
  --brand-300: #A495F8;
  --brand-400: #7661F5;
  --brand-500: #482CF2;
  --brand-600: #2D0FE6;
  --brand-700: #260CC0;
  --brand-800: #1E0A99;
  --brand-900: #19087f;
  --brand-950: #100745;
  --brand: #19087f;
  --brand-ink: #ffffff;
}

Colors that work with #19087f

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#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#827505
Second voice, not a rival
Dark variant#180878
Hover, pressed, headers
Light variant#EAE7FD
Selected rows, tints
Dark surface#161424
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 #19087f

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#6E7F08
Analogous left#08337F
Analogous right#55087F
Split-complement 1#7F5508
Split-complement 2#337F08
Triadic 1#7F1908
Triadic 2#087F19
Tetradic#7F0833

RGB percentages

Red9.8%
Green3.1%
Blue49.8%

CMYK percentages

Cyan80.3%
Magenta93.7%
Yellow0.0%
Key (black)50.2%

Color previews

#19087f text on a black background

contrast 1.38:1

Card sample

#19087f text on a white background

contrast 15.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #19087f;
Background color
Panel with #19087f background
background-color: #19087f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #19087f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(25, 8, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 8, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #19087f;
background: linear-gradient(135deg, #19087f, #68087F);

Monochromatic scale

Palettes built from #19087f

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.

#19087f 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.

#19087f, answered

What color is #19087f?

#19087f is a dark electric blue, closest to Navy (ΔE2000 1.7). It sits at 249° on the hue wheel with 88% saturation and 27% lightness, which reads as cool.

What is the RGB value of #19087f?

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

Is #19087f a light or a dark color?

It is a dark color. Relative luminance is 0.0191 and perceived brightness is 18%, so white text on it reaches 15.19:1.

Should I use black or white text on #19087f?

White. It scores 15.19:1 against #19087f, versus 1.38:1 for black — AAA at any size.

What is the complementary color of #19087f?

#6E7F08 sits directly opposite on the wheel. Softer options are the split-complements #7F5508 and #337F08, which give the same contrast with far less vibration.

What colors go well with #19087f?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #827505 as an accent and #180878 for hover and pressed states. For a palette, the analogous pair #08337F and #55087F stays calm, while #6E7F08 is the loudest partner.

What is #19087f in CMYK for printing?

cmyk(80%, 94%, 0%, 50%). 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 #19087f warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #45087F; nudged cooler, #072280.

Work with #19087f in the Color Lab