#154164#154164

#154164 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.4% C 0.077 H 246.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#154164
RGBrgb(21, 65, 100)
HSLhsl(207, 65%, 24%)
HSVhsv(207, 79%, 39%)
CMYKcmyk(79%, 35%, 0%, 60.8%)
CIE-LABlab(26.33, -1.59, -24.88)
CIE-LCHlch(26.33, 24.93, 266.33°)
OKLaboklab(36.37% -0.0309 -0.0706)
OKLCHoklch(36.37% 0.077 246.3)
XYZxyz(4.4989, 4.8596, 12.7550)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154164 #643815
analogous
#15645F #154164 #151964
triadic
#154164 #641541 #416415
tetradic
#154164 #5F1564 #643815 #196415
square
#154164 #5F1564 #643815 #196415
split-complementary
#154164 #641519 #645F15
monochromatic
#051019 #0A2031 #154164 #206297 #2A83C9

Accessibility & contrast

On white

10.65
#154164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#154164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154164
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154164#FFFFFF#000000##FFFFFF
##1541641.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314265
Deuteranopia (green-blind)
#263B63
Tritanopia (blue-blind)
#00494E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #154164;
/* rgb */ color: rgb(21, 65, 100);
/* oklch */ color: oklch(36.4% 0.077 246.3);
Tailwind
colors: {
  custom: {
    50: '#5f7590',
    500: '#154164',
    950: '#000000',
  },
}
SCSS
$custom: #154164;
$custom-light: #5f7590;
$custom-dark: #000000;
JSON
{
  "hex": "#154164",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 100
  },
  "hsl": {
    "h": 206.582,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.07708,
    "h": 246.3
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#154164
secondary
#9B653A
accent
#8A40E8
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #154164

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

Preview Lab → · Contrast checker → · Palette generator →

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