#154F89#154F89

#154F89 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.112 H 252.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#154F89
RGBrgb(21, 79, 137)
HSLhsl(210, 73%, 31%)
HSVhsv(210, 85%, 54%)
CMYKcmyk(84.7%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.04, 4.20, -37.45)
CIE-LCHlch(33.04, 37.69, 276.40°)
OKLaboklab(42.35% -0.034 -0.1072)
OKLCHoklch(42.35% 0.112 252.4)
XYZxyz(7.6189, 7.5566, 24.7191)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F89 #894F15
analogous
#158989 #154F89 #151589
triadic
#154F89 #89154F #4F8915
tetradic
#154F89 #891589 #894F15 #158915
square
#154F89 #891589 #894F15 #158915
split-complementary
#154F89 #891515 #898915
monochromatic
#05121F #0D3054 #154F89 #1D6EBE #388CE0

Accessibility & contrast

On white

8.36
#154F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#154F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F89
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F89#FFFFFF#000000##FFFFFF
##154F891.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154f89;
/* rgb */ color: rgb(21, 79, 137);
/* oklch */ color: oklch(42.3% 0.112 252.4);
Tailwind
colors: {
  custom: {
    50: '#687fac',
    500: '#154f89',
    950: '#000000',
  },
}
SCSS
$custom: #154f89;
$custom-light: #687fac;
$custom-dark: #000000;
JSON
{
  "hex": "#154f89",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 210,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.11244,
    "h": 252.4
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#154F89
secondary
#BD7D3D
accent
#9438F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #154F89

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

Preview Lab → · Contrast checker → · Palette generator →

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