#154A81#154A81

#154A81 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.107 H 252.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#154A81
RGBrgb(21, 74, 129)
HSLhsl(211, 72%, 29%)
HSVhsv(211, 84%, 51%)
CMYKcmyk(83.7%, 42.6%, 0%, 49.4%)
CIE-LABlab(30.98, 4.26, -35.82)
CIE-LCHlch(30.98, 36.07, 276.78°)
OKLaboklab(40.57% -0.0315 -0.1025)
OKLCHoklch(40.57% 0.107 252.9)
XYZxyz(6.7190, 6.6411, 21.6924)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A81 #814C15
analogous
#158081 #154A81 #161581
triadic
#154A81 #81154A #4A8115
tetradic
#154A81 #811580 #814C15 #158116
square
#154A81 #811580 #814C15 #158116
split-complementary
#154A81 #811615 #808115
monochromatic
#040F1A #0C2C4C #154A81 #1E68B6 #3387DE

Accessibility & contrast

On white

9.02
#154A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#154A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A81
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A81#FFFFFF#000000##FFFFFF
##154A811.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#1C4480
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154a81;
/* rgb */ color: rgb(21, 74, 129);
/* oklch */ color: oklch(40.6% 0.107 252.9);
Tailwind
colors: {
  custom: {
    50: '#667ca6',
    500: '#154a81',
    950: '#000000',
  },
}
SCSS
$custom: #154a81;
$custom-light: #667ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#154a81",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 129
  },
  "hsl": {
    "h": 210.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.10722,
    "h": 252.9
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#154A81
secondary
#B67A3C
accent
#9639EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154A81

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

Preview Lab → · Contrast checker → · Palette generator →

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