#154A7C#154A7C

#154A7C is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.100 H 250.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#154A7C
RGBrgb(21, 74, 124)
HSLhsl(209, 71%, 28%)
HSVhsv(209, 83%, 49%)
CMYKcmyk(83.1%, 40.3%, 0%, 51.4%)
CIE-LABlab(30.67, 2.21, -33.20)
CIE-LCHlch(30.67, 33.27, 273.80°)
OKLaboklab(40.23% -0.0328 -0.0948)
OKLCHoklch(40.23% 0.1 250.9)
XYZxyz(6.3947, 6.5114, 19.9847)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A7C #7C4715
analogous
#157C7A #154A7C #15177C
triadic
#154A7C #7C154A #4A7C15
tetradic
#154A7C #7A157C #7C4715 #177C15
square
#154A7C #7A157C #7C4715 #177C15
split-complementary
#154A7C #7C1517 #7C7A15
monochromatic
#04101A #0C2B48 #154A7C #1E69B0 #3088DC

Accessibility & contrast

On white

9.12
#154A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#154A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A7C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A7C#FFFFFF#000000##FFFFFF
##154A7C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154a7c;
/* rgb */ color: rgb(21, 74, 124);
/* oklch */ color: oklch(40.2% 0.100 250.9);
Tailwind
colors: {
  custom: {
    50: '#657ca2',
    500: '#154a7c',
    950: '#000000',
  },
}
SCSS
$custom: #154a7c;
$custom-light: #657ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#154a7c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 209.126,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.10031,
    "h": 250.9
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#154A7C
secondary
#B1753C
accent
#913AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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