#154158#154158

#154158 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.7% C 0.062 H 235.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#154158
RGBrgb(21, 65, 88)
HSLhsl(201, 61%, 21%)
HSVhsv(201, 76%, 35%)
CMYKcmyk(76.1%, 26.1%, 0%, 65.5%)
CIE-LABlab(25.70, -6.38, -18.10)
CIE-LCHlch(25.70, 19.19, 250.57°)
OKLaboklab(35.66% -0.0353 -0.0509)
OKLCHoklch(35.66% 0.062 235.3)
XYZxyz(3.9603, 4.6442, 9.9183)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154158 #582C15
analogous
#15584E #154158 #152058
triadic
#154158 #581541 #415815
tetradic
#154158 #4E1558 #582C15 #205815
square
#154158 #4E1558 #582C15 #205815
split-complementary
#154158 #581520 #584E15
monochromatic
#061219 #091D27 #154158 #216589 #2D8ABB

Accessibility & contrast

On white

10.89
#154158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#154158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154158
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154158#FFFFFF#000000##FFFFFF
##1541581.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#2D3A58
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #154158;
/* rgb */ color: rgb(21, 65, 88);
/* oklch */ color: oklch(35.7% 0.062 235.3);
Tailwind
colors: {
  custom: {
    50: '#5c7587',
    500: '#154158',
    950: '#000000',
  },
}
SCSS
$custom: #154158;
$custom-light: #5c7587;
$custom-dark: #000000;
JSON
{
  "hex": "#154158",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 200.597,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35658,
    "c": 0.06195,
    "h": 235.3
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#154158
secondary
#905739
accent
#7B43E5
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #154158

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

Preview Lab → · Contrast checker → · Palette generator →

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