#154D7E#154D7E

#154D7E is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.100 H 249.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#154D7E
RGBrgb(21, 77, 126)
HSLhsl(208, 71%, 29%)
HSVhsv(208, 83%, 49%)
CMYKcmyk(83.3%, 38.9%, 0%, 50.6%)
CIE-LABlab(31.74, 1.03, -32.73)
CIE-LCHlch(31.74, 32.75, 271.81°)
OKLaboklab(41.11% -0.035 -0.0934)
OKLCHoklch(41.11% 0.1 249.4)
XYZxyz(6.7276, 6.9727, 20.7259)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D7E #7E4615
analogous
#157E7B #154D7E #15197E
triadic
#154D7E #7E154D #4D7E15
tetradic
#154D7E #7B157E #7E4615 #197E15
square
#154D7E #7B157E #7E4615 #197E15
split-complementary
#154D7E #7E1519 #7E7B15
monochromatic
#04101A #0C2D4A #154D7E #1E6DB2 #318CDD

Accessibility & contrast

On white

8.77
#154D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#154D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D7E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D7E#FFFFFF#000000##FFFFFF
##154D7E1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154d7e;
/* rgb */ color: rgb(21, 77, 126);
/* oklch */ color: oklch(41.1% 0.100 249.4);
Tailwind
colors: {
  custom: {
    50: '#657ea3',
    500: '#154d7e',
    950: '#000000',
  },
}
SCSS
$custom: #154d7e;
$custom-light: #657ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#154d7e",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 208,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.09972,
    "h": 249.4
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#154D7E
secondary
#B3733C
accent
#8E3AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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