#154F71#154F71

#154F71 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.081 H 239.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#154F71
RGBrgb(21, 79, 113)
HSLhsl(202, 69%, 26%)
HSVhsv(202, 81%, 44%)
CMYKcmyk(81.4%, 30.1%, 0%, 55.7%)
CIE-LABlab(31.68, -5.48, -24.73)
CIE-LCHlch(31.68, 25.33, 257.49°)
OKLaboklab(40.83% -0.0411 -0.0699)
OKLCHoklch(40.83% 0.081 239.5)
XYZxyz(6.0847, 6.9429, 16.6390)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F71 #713715
analogous
#157165 #154F71 #152171
triadic
#154F71 #71154F #4F7115
tetradic
#154F71 #651571 #713715 #217115
square
#154F71 #651571 #713715 #217115
split-complementary
#154F71 #711521 #716515
monochromatic
#05121A #0B2B3D #154F71 #1F73A5 #2997D7

Accessibility & contrast

On white

8.79
#154F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#154F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F71
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F71#FFFFFF#000000##FFFFFF
##154F711.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#324770
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154f71;
/* rgb */ color: rgb(21, 79, 113);
/* oklch */ color: oklch(40.8% 0.081 239.5);
Tailwind
colors: {
  custom: {
    50: '#62809a',
    500: '#154f71',
    950: '#000000',
  },
}
SCSS
$custom: #154f71;
$custom-light: #62809a;
$custom-dark: #000000;
JSON
{
  "hex": "#154f71",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 202.174,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.08115,
    "h": 239.5
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#154F71
secondary
#A7633B
accent
#7D3CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #154F71

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

Preview Lab → · Contrast checker → · Palette generator →

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