#154C71#154C71

#154C71 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.0% C 0.084 H 242.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#154C71
RGBrgb(21, 76, 113)
HSLhsl(204, 69%, 26%)
HSVhsv(204, 81%, 44%)
CMYKcmyk(81.4%, 32.7%, 0%, 55.7%)
CIE-LABlab(30.69, -3.57, -26.28)
CIE-LCHlch(30.69, 26.52, 262.27°)
OKLaboklab(40.04% -0.0381 -0.0745)
OKLCHoklch(40.04% 0.084 242.9)
XYZxyz(5.8732, 6.5199, 16.5685)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C71 #713A15
analogous
#157168 #154C71 #151E71
triadic
#154C71 #71154C #4C7115
tetradic
#154C71 #681571 #713A15 #1E7115
square
#154C71 #681571 #713A15 #1E7115
split-complementary
#154C71 #71151E #716815
monochromatic
#05111A #0B293D #154C71 #1F6FA5 #2991D7

Accessibility & contrast

On white

9.11
#154C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#154C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C71
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C71#FFFFFF#000000##FFFFFF
##154C711.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#005559
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154c71;
/* rgb */ color: rgb(21, 76, 113);
/* oklch */ color: oklch(40.0% 0.084 242.9);
Tailwind
colors: {
  custom: {
    50: '#627d9a',
    500: '#154c71',
    950: '#000000',
  },
}
SCSS
$custom: #154c71;
$custom-light: #627d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#154c71",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 204.13,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.08368,
    "h": 242.9
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#154C71
secondary
#A7663B
accent
#833CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154C71

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

Preview Lab → · Contrast checker → · Palette generator →

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