#154A7E#154A7E

#154A7E is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.103 H 251.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#154A7E
RGBrgb(21, 74, 126)
HSLhsl(210, 71%, 29%)
HSVhsv(210, 83%, 49%)
CMYKcmyk(83.3%, 41.3%, 0%, 50.6%)
CIE-LABlab(30.79, 3.03, -34.25)
CIE-LCHlch(30.79, 34.38, 275.05°)
OKLaboklab(40.37% -0.0323 -0.0979)
OKLCHoklch(40.37% 0.103 251.8)
XYZxyz(6.5225, 6.5626, 20.6576)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A7E #7E4915
analogous
#157E7E #154A7E #15167E
triadic
#154A7E #7E154A #4A7E15
tetradic
#154A7E #7E157E #7E4915 #167E15
square
#154A7E #7E157E #7E4915 #167E15
split-complementary
#154A7E #7E1516 #7E7E15
monochromatic
#040F1A #0C2B4A #154A7E #1E69B2 #3188DD

Accessibility & contrast

On white

9.08
#154A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A7E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A7E#FFFFFF#000000##FFFFFF
##154A7E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154a7e;
/* rgb */ color: rgb(21, 74, 126);
/* oklch */ color: oklch(40.4% 0.103 251.8);
Tailwind
colors: {
  custom: {
    50: '#657ca4',
    500: '#154a7e',
    950: '#000000',
  },
}
SCSS
$custom: #154a7e;
$custom-light: #657ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#154a7e",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 209.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.10306,
    "h": 251.8
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#154A7E
secondary
#B3773C
accent
#933AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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