#154E9E#154E9E

#154E9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.143 H 258.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#154E9E
RGBrgb(21, 78, 158)
HSLhsl(215, 77%, 35%)
HSVhsv(215, 87%, 62%)
CMYKcmyk(86.7%, 50.6%, 0%, 38%)
CIE-LABlab(34.14, 13.48, -48.46)
CIE-LCHlch(34.14, 50.29, 285.54°)
OKLaboklab(43.64% -0.029 -0.1396)
OKLCHoklch(43.64% 0.143 258.2)
XYZxyz(9.2029, 8.0757, 33.4148)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E9E #9E6515
analogous
#15939E #154E9E #20159E
triadic
#154E9E #9E154E #4E9E15
tetradic
#154E9E #9E1593 #9E6515 #159E20
square
#154E9E #9E1593 #9E6515 #159E20
split-complementary
#154E9E #9E2015 #939E15
monochromatic
#071932 #0E3368 #154E9E #1C69D4 #4789E7

Accessibility & contrast

On white

8.03
#154E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#154E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E9E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E9E#FFFFFF#000000##FFFFFF
##154E9E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #154e9e;
/* rgb */ color: rgb(21, 78, 158);
/* oklch */ color: oklch(43.6% 0.143 258.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ebb',
    500: '#154e9e',
    950: '#000000',
  },
}
SCSS
$custom: #154e9e;
$custom-light: #6d7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#154e9e",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 215.036,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.14257,
    "h": 258.2
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#154E9E
secondary
#C79247
accent
#A435F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154E9E

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

Preview Lab → · Contrast checker → · Palette generator →

#154E9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva