#154A7D#154A7D

#154A7D is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.102 H 251.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#154A7D
RGBrgb(21, 74, 125)
HSLhsl(209, 71%, 29%)
HSVhsv(209, 83%, 49%)
CMYKcmyk(83.2%, 40.8%, 0%, 51%)
CIE-LABlab(30.73, 2.62, -33.73)
CIE-LCHlch(30.73, 33.83, 274.43°)
OKLaboklab(40.3% -0.0325 -0.0963)
OKLCHoklch(40.3% 0.102 251.3)
XYZxyz(6.4583, 6.5369, 20.3194)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A7D #7D4815
analogous
#157D7C #154A7D #15167D
triadic
#154A7D #7D154A #4A7D15
tetradic
#154A7D #7C157D #7D4815 #167D15
square
#154A7D #7C157D #7D4815 #167D15
split-complementary
#154A7D #7D1516 #7D7C15
monochromatic
#04101A #0C2B49 #154A7D #1E69B1 #3088DC

Accessibility & contrast

On white

9.10
#154A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A7D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A7D#FFFFFF#000000##FFFFFF
##154A7D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154a7d;
/* rgb */ color: rgb(21, 74, 125);
/* oklch */ color: oklch(40.3% 0.102 251.3);
Tailwind
colors: {
  custom: {
    50: '#657ca3',
    500: '#154a7d',
    950: '#000000',
  },
}
SCSS
$custom: #154a7d;
$custom-light: #657ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#154a7d",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 209.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.10168,
    "h": 251.3
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#154A7D
secondary
#B2763C
accent
#923AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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