#154D6D#154D6D

#154D6D is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.1% C 0.078 H 238.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#154D6D
RGBrgb(21, 77, 109)
HSLhsl(202, 68%, 25%)
HSVhsv(202, 81%, 43%)
CMYKcmyk(80.7%, 29.4%, 0%, 57.3%)
CIE-LABlab(30.81, -5.79, -23.57)
CIE-LCHlch(30.81, 24.27, 256.19°)
OKLaboklab(40.07% -0.0405 -0.0666)
OKLCHoklch(40.07% 0.078 238.7)
XYZxyz(5.7224, 6.5706, 15.4317)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D6D #6D3515
analogous
#156D61 #154D6D #15216D
triadic
#154D6D #6D154D #4D6D15
tetradic
#154D6D #61156D #6D3515 #216D15
square
#154D6D #61156D #6D3515 #216D15
split-complementary
#154D6D #6D1521 #6D6115
monochromatic
#05121A #0B293A #154D6D #1F71A0 #2995D4

Accessibility & contrast

On white

9.07
#154D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#154D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D6D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D6D#FFFFFF#000000##FFFFFF
##154D6D1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154d6d;
/* rgb */ color: rgb(21, 77, 109);
/* oklch */ color: oklch(40.1% 0.078 238.7);
Tailwind
colors: {
  custom: {
    50: '#617e97',
    500: '#154d6d',
    950: '#000000',
  },
}
SCSS
$custom: #154d6d;
$custom-light: #617e97;
$custom-dark: #000000;
JSON
{
  "hex": "#154d6d",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 109
  },
  "hsl": {
    "h": 201.818,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.07796,
    "h": 238.7
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#154D6D
secondary
#A3613A
accent
#7C3DEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #154D6D

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

Preview Lab → · Contrast checker → · Palette generator →

#154D6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva