#154E7D#154E7D

#154E7D is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.097 H 248.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#154E7D
RGBrgb(21, 78, 125)
HSLhsl(207, 71%, 29%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.2%, 37.6%, 0%, 51%)
CIE-LABlab(32.01, -0.03, -31.69)
CIE-LCHlch(32.01, 31.69, 269.94°)
OKLaboklab(41.3% -0.0363 -0.0903)
OKLCHoklch(41.3% 0.097 248.1)
XYZxyz(6.7339, 7.0881, 20.4113)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E7D #7D4415
analogous
#157D78 #154E7D #151A7D
triadic
#154E7D #7D154E #4E7D15
tetradic
#154E7D #78157D #7D4415 #1A7D15
square
#154E7D #78157D #7D4415 #1A7D15
split-complementary
#154E7D #7D151A #7D7815
monochromatic
#04101A #0C2D49 #154E7D #1E6FB1 #308EDC

Accessibility & contrast

On white

8.69
#154E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#154E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E7D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E7D#FFFFFF#000000##FFFFFF
##154E7D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507F
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154e7d;
/* rgb */ color: rgb(21, 78, 125);
/* oklch */ color: oklch(41.3% 0.097 248.1);
Tailwind
colors: {
  custom: {
    50: '#657fa3',
    500: '#154e7d',
    950: '#000000',
  },
}
SCSS
$custom: #154e7d;
$custom-light: #657fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#154e7d",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 207.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.09732,
    "h": 248.1
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#154E7D
secondary
#B2713C
accent
#8B3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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