#154B71#154B71

#154B71 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 39.8% C 0.085 H 244.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#154B71
RGBrgb(21, 75, 113)
HSLhsl(205, 69%, 26%)
HSVhsv(205, 81%, 44%)
CMYKcmyk(81.4%, 33.6%, 0%, 55.7%)
CIE-LABlab(30.36, -2.92, -26.80)
CIE-LCHlch(30.36, 26.96, 263.78°)
OKLaboklab(39.78% -0.037 -0.076)
OKLCHoklch(39.78% 0.085 244)
XYZxyz(5.8048, 6.3831, 16.5457)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B71 #713B15
analogous
#157169 #154B71 #151D71
triadic
#154B71 #71154B #4B7115
tetradic
#154B71 #691571 #713B15 #1D7115
square
#154B71 #691571 #713B15 #1D7115
split-complementary
#154B71 #71151D #716915
monochromatic
#05111A #0B293D #154B71 #1F6DA5 #298FD7

Accessibility & contrast

On white

9.22
#154B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#154B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B71
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B71#FFFFFF#000000##FFFFFF
##154B711.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#2C4470
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154b71;
/* rgb */ color: rgb(21, 75, 113);
/* oklch */ color: oklch(39.8% 0.085 244.0);
Tailwind
colors: {
  custom: {
    50: '#627d9a',
    500: '#154b71',
    950: '#000000',
  },
}
SCSS
$custom: #154b71;
$custom-light: #627d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#154b71",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 204.783,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.08459,
    "h": 244
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#154B71
secondary
#A7673B
accent
#853CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154B71

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

Preview Lab → · Contrast checker → · Palette generator →

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