#154594#154594

#154594 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.140 H 260.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#154594
RGBrgb(21, 69, 148)
HSLhsl(217, 75%, 33%)
HSVhsv(217, 86%, 58%)
CMYKcmyk(85.8%, 53.4%, 0%, 42%)
CIE-LABlab(30.77, 15.52, -47.85)
CIE-LCHlch(30.77, 50.30, 287.97°)
OKLaboklab(40.83% -0.024 -0.138)
OKLCHoklch(40.83% 0.14 260.1)
XYZxyz(7.7807, 6.5528, 28.8660)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154594 #946415
analogous
#158494 #154594 #251594
triadic
#154594 #941545 #459415
tetradic
#154594 #941584 #946415 #159425
square
#154594 #941584 #946415 #159425
split-complementary
#154594 #942515 #849415
monochromatic
#061329 #0D2C5E #154594 #1D5ECA #407EE4

Accessibility & contrast

On white

9.09
#154594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#154594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154594
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154594#FFFFFF#000000##FFFFFF
##1545941.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154594;
/* rgb */ color: rgb(21, 69, 148);
/* oklch */ color: oklch(40.8% 0.140 260.1);
Tailwind
colors: {
  custom: {
    50: '#6b78b4',
    500: '#154594',
    950: '#000000',
  },
}
SCSS
$custom: #154594;
$custom-light: #6b78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#154594",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 217.323,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.14006,
    "h": 260.1
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#154594
secondary
#C49241
accent
#AB36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #154594

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#154594 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva