#154D71#154D71

#154D71 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.083 H 241.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#154D71
RGBrgb(21, 77, 113)
HSLhsl(203, 69%, 26%)
HSVhsv(203, 81%, 44%)
CMYKcmyk(81.4%, 31.9%, 0%, 55.7%)
CIE-LABlab(31.02, -4.21, -25.76)
CIE-LCHlch(31.02, 26.10, 260.72°)
OKLaboklab(40.3% -0.0391 -0.073)
OKLCHoklch(40.3% 0.083 241.8)
XYZxyz(5.9426, 6.6587, 16.5916)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D71 #713915
analogous
#157167 #154D71 #151F71
triadic
#154D71 #71154D #4D7115
tetradic
#154D71 #671571 #713915 #1F7115
square
#154D71 #671571 #713915 #1F7115
split-complementary
#154D71 #71151F #716715
monochromatic
#05121A #0B2A3D #154D71 #1F70A5 #2993D7

Accessibility & contrast

On white

9.01
#154D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#154D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D71
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D71#FFFFFF#000000##FFFFFF
##154D711.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154d71;
/* rgb */ color: rgb(21, 77, 113);
/* oklch */ color: oklch(40.3% 0.083 241.8);
Tailwind
colors: {
  custom: {
    50: '#627e9a',
    500: '#154d71',
    950: '#000000',
  },
}
SCSS
$custom: #154d71;
$custom-light: #627e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#154d71",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 203.478,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.0828,
    "h": 241.8
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#154D71
secondary
#A7653B
accent
#813CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #154D71

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

Preview Lab → · Contrast checker → · Palette generator →

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