#154F9E#154F9E

#154F9E is a dark, vivid cyan. Relative luminance 0.082; OKLCH L 43.9% C 0.141 H 257.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#154F9E
RGBrgb(21, 79, 158)
HSLhsl(215, 77%, 35%)
HSVhsv(215, 87%, 62%)
CMYKcmyk(86.7%, 50%, 0%, 38%)
CIE-LABlab(34.43, 12.80, -47.98)
CIE-LCHlch(34.43, 49.66, 284.94°)
OKLaboklab(43.87% -0.0298 -0.1381)
OKLCHoklch(43.87% 0.141 257.8)
XYZxyz(9.2745, 8.2188, 33.4387)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F9E #9E6415
analogous
#15939E #154F9E #20159E
triadic
#154F9E #9E154F #4F9E15
tetradic
#154F9E #9E1593 #9E6415 #159E20
square
#154F9E #9E1593 #9E6415 #159E20
split-complementary
#154F9E #9E2015 #939E15
monochromatic
#071932 #0E3468 #154F9E #1C6AD4 #478AE7

Accessibility & contrast

On white

7.94
#154F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#154F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F9E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F9E#FFFFFF#000000##FFFFFF
##154F9E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #154f9e;
/* rgb */ color: rgb(21, 79, 158);
/* oklch */ color: oklch(43.9% 0.141 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fbb',
    500: '#154f9e',
    950: '#000000',
  },
}
SCSS
$custom: #154f9e;
$custom-light: #6d7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#154f9e",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 214.599,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.14132,
    "h": 257.8
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#154F9E
secondary
#C79147
accent
#A235F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #154F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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