#154979#154979

#154979 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.097 H 250.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#154979
RGBrgb(21, 73, 121)
HSLhsl(209, 70%, 28%)
HSVhsv(209, 83%, 47%)
CMYKcmyk(82.6%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.17, 1.64, -32.12)
CIE-LCHlch(30.17, 32.16, 272.93°)
OKLaboklab(39.78% -0.0327 -0.0916)
OKLCHoklch(39.78% 0.097 250.4)
XYZxyz(6.1417, 6.3043, 18.9786)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154979 #794515
analogous
#157977 #154979 #151779
triadic
#154979 #791549 #497915
tetradic
#154979 #771579 #794515 #177915
square
#154979 #771579 #794515 #177915
split-complementary
#154979 #791517 #797715
monochromatic
#05101A #0C2A45 #154979 #1E68AD #2E88DB

Accessibility & contrast

On white

9.29
#154979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#154979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154979
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154979#FFFFFF#000000##FFFFFF
##1549791.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154979;
/* rgb */ color: rgb(21, 73, 121);
/* oklch */ color: oklch(39.8% 0.097 250.4);
Tailwind
colors: {
  custom: {
    50: '#647ba0',
    500: '#154979',
    950: '#000000',
  },
}
SCSS
$custom: #154979;
$custom-light: #647ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#154979",
  "rgb": {
    "r": 21,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 208.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.0973,
    "h": 250.4
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#154979
secondary
#AF733B
accent
#903BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154979

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

Preview Lab → · Contrast checker → · Palette generator →

#154979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva