#154971#154971

#154971 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.087 H 246.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#154971
RGBrgb(21, 73, 113)
HSLhsl(206, 69%, 26%)
HSVhsv(206, 81%, 44%)
CMYKcmyk(81.4%, 35.4%, 0%, 55.7%)
CIE-LABlab(29.70, -1.62, -27.83)
CIE-LCHlch(29.70, 27.88, 266.68°)
OKLaboklab(39.27% -0.035 -0.0791)
OKLCHoklch(39.27% 0.087 246.1)
XYZxyz(5.6713, 6.1161, 16.5012)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154971 #713D15
analogous
#15716B #154971 #151B71
triadic
#154971 #711549 #497115
tetradic
#154971 #6B1571 #713D15 #1B7115
square
#154971 #6B1571 #713D15 #1B7115
split-complementary
#154971 #71151B #716B15
monochromatic
#05111A #0B283D #154971 #1F6AA5 #298CD7

Accessibility & contrast

On white

9.44
#154971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154971
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154971#FFFFFF#000000##FFFFFF
##1549711.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#005357
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154971;
/* rgb */ color: rgb(21, 73, 113);
/* oklch */ color: oklch(39.3% 0.087 246.1);
Tailwind
colors: {
  custom: {
    50: '#627b9a',
    500: '#154971',
    950: '#000000',
  },
}
SCSS
$custom: #154971;
$custom-light: #627b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#154971",
  "rgb": {
    "r": 21,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 206.087,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39265,
    "c": 0.08651,
    "h": 246.1
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#154971
secondary
#A76A3B
accent
#883CEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154971

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

Preview Lab → · Contrast checker → · Palette generator →

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