#154875#154875

#154875 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.093 H 249.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#154875
RGBrgb(21, 72, 117)
HSLhsl(208, 70%, 27%)
HSVhsv(208, 82%, 46%)
CMYKcmyk(82.1%, 38.5%, 0%, 54.1%)
CIE-LABlab(29.61, 0.67, -30.50)
CIE-LCHlch(29.61, 30.51, 271.26°)
OKLaboklab(39.27% -0.0328 -0.0869)
OKLCHoklch(39.27% 0.093 249.3)
XYZxyz(5.8363, 6.0778, 17.6917)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154875 #754215
analogous
#157572 #154875 #151875
triadic
#154875 #751548 #487515
tetradic
#154875 #721575 #754215 #187515
square
#154875 #721575 #754215 #187515
split-complementary
#154875 #751518 #757215
monochromatic
#05101A #0C2841 #154875 #1E68A9 #2B88D9

Accessibility & contrast

On white

9.48
#154875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154875
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154875#FFFFFF#000000##FFFFFF
##1548751.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B77
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154875;
/* rgb */ color: rgb(21, 72, 117);
/* oklch */ color: oklch(39.3% 0.093 249.3);
Tailwind
colors: {
  custom: {
    50: '#637a9d',
    500: '#154875',
    950: '#000000',
  },
}
SCSS
$custom: #154875;
$custom-light: #637a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#154875",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 208.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39265,
    "c": 0.09293,
    "h": 249.3
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#154875
secondary
#AB6F3B
accent
#8E3BEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154875

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

Preview Lab → · Contrast checker → · Palette generator →

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