#154A7F#154A7F

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

Color values

HEX#154A7F
RGBrgb(21, 74, 127)
HSLhsl(210, 72%, 29%)
HSVhsv(210, 83%, 50%)
CMYKcmyk(83.5%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.85, 3.44, -34.77)
CIE-LCHlch(30.85, 34.94, 275.64°)
OKLaboklab(40.43% -0.032 -0.0994)
OKLCHoklch(40.43% 0.104 252.2)
XYZxyz(6.5874, 6.5885, 20.9991)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A7F #7F4A15
analogous
#157F7F #154A7F #15157F
triadic
#154A7F #7F154A #4A7F15
tetradic
#154A7F #7F157F #7F4A15 #157F15
square
#154A7F #7F157F #7F4A15 #157F15
split-complementary
#154A7F #7F1515 #7F7F15
monochromatic
#040F1A #0C2B4A #154A7F #1E69B4 #3187DD

Accessibility & contrast

On white

9.06
#154A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#154A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A7F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A7F#FFFFFF#000000##FFFFFF
##154A7F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154a7f;
/* rgb */ color: rgb(21, 74, 127);
/* oklch */ color: oklch(40.4% 0.104 252.2);
Tailwind
colors: {
  custom: {
    50: '#657ca4',
    500: '#154a7f',
    950: '#000000',
  },
}
SCSS
$custom: #154a7f;
$custom-light: #657ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#154a7f",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 210,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.10445,
    "h": 252.2
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#154A7F
secondary
#B4783C
accent
#9439EE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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