#154162#154162

#154162 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.074 H 244.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#154162
RGBrgb(21, 65, 98)
HSLhsl(206, 65%, 23%)
HSVhsv(206, 79%, 38%)
CMYKcmyk(78.6%, 33.7%, 0%, 61.6%)
CIE-LABlab(26.22, -2.40, -23.76)
CIE-LCHlch(26.22, 23.88, 264.22°)
OKLaboklab(36.24% -0.0316 -0.0673)
OKLCHoklch(36.24% 0.074 244.9)
XYZxyz(4.4033, 4.8214, 12.2515)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154162 #623615
analogous
#15625C #154162 #151A62
triadic
#154162 #621541 #416215
tetradic
#154162 #5C1562 #623615 #1A6215
square
#154162 #5C1562 #623615 #1A6215
split-complementary
#154162 #62151A #625C15
monochromatic
#051119 #0A2030 #154162 #206294 #2B84C7

Accessibility & contrast

On white

10.69
#154162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#154162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154162
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154162#FFFFFF#000000##FFFFFF
##1541621.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324263
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#00494D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #154162;
/* rgb */ color: rgb(21, 65, 98);
/* oklch */ color: oklch(36.2% 0.074 244.9);
Tailwind
colors: {
  custom: {
    50: '#5e758f',
    500: '#154162',
    950: '#000000',
  },
}
SCSS
$custom: #154162;
$custom-light: #5e758f;
$custom-dark: #000000;
JSON
{
  "hex": "#154162",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 205.714,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.07439,
    "h": 244.9
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#154162
secondary
#99633A
accent
#8840E8
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #154162

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

Preview Lab → · Contrast checker → · Palette generator →

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