#154A6A#154A6A

#154A6A is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.1% C 0.077 H 239.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#154A6A
RGBrgb(21, 74, 106)
HSLhsl(203, 67%, 25%)
HSVhsv(203, 80%, 42%)
CMYKcmyk(80.2%, 30.2%, 0%, 58.4%)
CIE-LABlab(29.66, -5.07, -23.48)
CIE-LCHlch(29.66, 24.02, 257.81°)
OKLaboklab(39.1% -0.0384 -0.0664)
OKLCHoklch(39.1% 0.077 239.9)
XYZxyz(5.3585, 6.0970, 14.5273)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A6A #6A3515
analogous
#156A5F #154A6A #15206A
triadic
#154A6A #6A154A #4A6A15
tetradic
#154A6A #5F156A #6A3515 #206A15
square
#154A6A #5F156A #6A3515 #206A15
split-complementary
#154A6A #6A1520 #6A5F15
monochromatic
#05121A #0B2637 #154A6A #1F6E9D #2991D0

Accessibility & contrast

On white

9.46
#154A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A6A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A6A#FFFFFF#000000##FFFFFF
##154A6A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4A6B
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#005255
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154a6a;
/* rgb */ color: rgb(21, 74, 106);
/* oklch */ color: oklch(39.1% 0.077 239.9);
Tailwind
colors: {
  custom: {
    50: '#607c94',
    500: '#154a6a',
    950: '#000000',
  },
}
SCSS
$custom: #154a6a;
$custom-light: #607c94;
$custom-dark: #000000;
JSON
{
  "hex": "#154a6a",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 106
  },
  "hsl": {
    "h": 202.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.07672,
    "h": 239.9
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#154A6A
secondary
#A1613A
accent
#7F3EEA
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#05090D
muted
#7A7B7E

Preview Lab

Preview with #154A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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