#154873#154873

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

Color values

HEX#154873
RGBrgb(21, 72, 115)
HSLhsl(207, 69%, 27%)
HSVhsv(207, 82%, 45%)
CMYKcmyk(81.7%, 37.4%, 0%, 54.9%)
CIE-LABlab(29.49, -0.14, -29.43)
CIE-LCHlch(29.49, 29.43, 269.72°)
OKLaboklab(39.14% -0.0334 -0.0838)
OKLCHoklch(39.14% 0.09 248.3)
XYZxyz(5.7200, 6.0313, 17.0790)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154873 #734015
analogous
#15736F #154873 #151973
triadic
#154873 #731548 #487315
tetradic
#154873 #6F1573 #734015 #197315
square
#154873 #6F1573 #734015 #197315
split-complementary
#154873 #731519 #736F15
monochromatic
#05101A #0C283F #154873 #1E68A7 #2A89D8

Accessibility & contrast

On white

9.52
#154873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#154873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154873
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154873#FFFFFF#000000##FFFFFF
##1548731.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#264272
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154873;
/* rgb */ color: rgb(21, 72, 115);
/* oklch */ color: oklch(39.1% 0.090 248.3);
Tailwind
colors: {
  custom: {
    50: '#627a9b',
    500: '#154873',
    950: '#000000',
  },
}
SCSS
$custom: #154873;
$custom-light: #627a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#154873",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 207.447,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.0902,
    "h": 248.3
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#154873
secondary
#A96D3B
accent
#8C3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154873

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

Preview Lab → · Contrast checker → · Palette generator →

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