#154872#154872

#154872 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.1% C 0.089 H 247.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#154872
RGBrgb(21, 72, 114)
HSLhsl(207, 69%, 26%)
HSVhsv(207, 82%, 45%)
CMYKcmyk(81.6%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.43, -0.55, -28.89)
CIE-LCHlch(29.43, 28.89, 268.91°)
OKLaboklab(39.07% -0.0337 -0.0822)
OKLCHoklch(39.07% 0.089 247.7)
XYZxyz(5.6627, 6.0084, 16.7776)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154872 #723F15
analogous
#15726E #154872 #151972
triadic
#154872 #721548 #487215
tetradic
#154872 #6E1572 #723F15 #197215
square
#154872 #6E1572 #723F15 #197215
split-complementary
#154872 #721519 #726E15
monochromatic
#05101A #0B273E #154872 #1F69A6 #2A89D8

Accessibility & contrast

On white

9.54
#154872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154872
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154872#FFFFFF#000000##FFFFFF
##1548721.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#274171
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154872;
/* rgb */ color: rgb(21, 72, 114);
/* oklch */ color: oklch(39.1% 0.089 247.7);
Tailwind
colors: {
  custom: {
    50: '#627a9b',
    500: '#154872',
    950: '#000000',
  },
}
SCSS
$custom: #154872;
$custom-light: #627a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#154872",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 207.097,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.08885,
    "h": 247.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#154872
secondary
#A86C3B
accent
#8B3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154872

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

Preview Lab → · Contrast checker → · Palette generator →

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