#154879#154879

#154879 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.098 H 251.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#154879
RGBrgb(21, 72, 121)
HSLhsl(209, 70%, 28%)
HSVhsv(209, 83%, 47%)
CMYKcmyk(82.6%, 40.5%, 0%, 52.5%)
CIE-LABlab(29.85, 2.31, -32.63)
CIE-LCHlch(29.85, 32.71, 274.05°)
OKLaboklab(39.53% -0.0317 -0.0932)
OKLCHoklch(39.53% 0.098 251.2)
XYZxyz(6.0765, 6.1739, 18.9569)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154879 #794615
analogous
#157978 #154879 #151679
triadic
#154879 #791548 #487915
tetradic
#154879 #781579 #794615 #167915
square
#154879 #781579 #794615 #167915
split-complementary
#154879 #791516 #797815
monochromatic
#05101A #0C2945 #154879 #1E67AD #2E86DB

Accessibility & contrast

On white

9.40
#154879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#154879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154879
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154879#FFFFFF#000000##FFFFFF
##1548791.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154879;
/* rgb */ color: rgb(21, 72, 121);
/* oklch */ color: oklch(39.5% 0.098 251.2);
Tailwind
colors: {
  custom: {
    50: '#647aa0',
    500: '#154879',
    950: '#000000',
  },
}
SCSS
$custom: #154879;
$custom-light: #647aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#154879",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 209.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.09842,
    "h": 251.2
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#154879
secondary
#AF743B
accent
#923BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154879

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

Preview Lab → · Contrast checker → · Palette generator →

#154879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva