#154772#154772

#154772 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.8% C 0.090 H 248.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#154772
RGBrgb(21, 71, 114)
HSLhsl(208, 69%, 26%)
HSVhsv(208, 82%, 45%)
CMYKcmyk(81.6%, 37.7%, 0%, 55.3%)
CIE-LABlab(29.11, 0.11, -29.40)
CIE-LCHlch(29.11, 29.41, 270.22°)
OKLaboklab(38.82% -0.0327 -0.0837)
OKLCHoklch(38.82% 0.09 248.6)
XYZxyz(5.5986, 5.8801, 16.7562)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154772 #724015
analogous
#15726F #154772 #151972
triadic
#154772 #721547 #477215
tetradic
#154772 #6F1572 #724015 #197215
square
#154772 #6F1572 #724015 #197215
split-complementary
#154772 #721519 #726F15
monochromatic
#05101A #0B273E #154772 #1F67A6 #2A87D8

Accessibility & contrast

On white

9.65
#154772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#154772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154772
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154772#FFFFFF#000000##FFFFFF
##1547721.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#254171
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154772;
/* rgb */ color: rgb(21, 71, 114);
/* oklch */ color: oklch(38.8% 0.090 248.6);
Tailwind
colors: {
  custom: {
    50: '#62799b',
    500: '#154772',
    950: '#000000',
  },
}
SCSS
$custom: #154772;
$custom-light: #62799b;
$custom-dark: #000000;
JSON
{
  "hex": "#154772",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 207.742,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.0899,
    "h": 248.6
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#154772
secondary
#A86D3B
accent
#8D3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154772

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

Preview Lab → · Contrast checker → · Palette generator →

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