#154F7D#154F7D

#154F7D is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.096 H 247.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#154F7D
RGBrgb(21, 79, 125)
HSLhsl(207, 71%, 29%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.2%, 36.8%, 0%, 51%)
CIE-LABlab(32.33, -0.68, -31.18)
CIE-LCHlch(32.33, 31.19, 268.74°)
OKLaboklab(41.55% -0.0372 -0.0888)
OKLCHoklch(41.55% 0.096 247.3)
XYZxyz(6.8055, 7.2312, 20.4351)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F7D #7D4315
analogous
#157D77 #154F7D #151B7D
triadic
#154F7D #7D154F #4F7D15
tetradic
#154F7D #77157D #7D4315 #1B7D15
square
#154F7D #77157D #7D4315 #1B7D15
split-complementary
#154F7D #7D151B #7D7715
monochromatic
#04111A #0C2E49 #154F7D #1E70B1 #3090DC

Accessibility & contrast

On white

8.58
#154F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#154F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F7D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F7D#FFFFFF#000000##FFFFFF
##154F7D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154f7d;
/* rgb */ color: rgb(21, 79, 125);
/* oklch */ color: oklch(41.6% 0.096 247.3);
Tailwind
colors: {
  custom: {
    50: '#6580a3',
    500: '#154f7d',
    950: '#000000',
  },
}
SCSS
$custom: #154f7d;
$custom-light: #6580a3;
$custom-dark: #000000;
JSON
{
  "hex": "#154f7d",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 206.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41553,
    "c": 0.09628,
    "h": 247.3
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#154F7D
secondary
#B2703C
accent
#8A3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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