#154671#154671

#154671 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.090 H 249.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#154671
RGBrgb(21, 70, 113)
HSLhsl(208, 69%, 26%)
HSVhsv(208, 81%, 44%)
CMYKcmyk(81.4%, 38.1%, 0%, 55.7%)
CIE-LABlab(28.72, 0.37, -29.38)
CIE-LCHlch(28.72, 29.38, 270.72°)
OKLaboklab(38.5% -0.032 -0.0837)
OKLCHoklch(38.5% 0.09 249)
XYZxyz(5.4789, 5.7314, 16.4371)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154671 #714015
analogous
#15716E #154671 #151871
triadic
#154671 #711546 #467115
tetradic
#154671 #6E1571 #714015 #187115
square
#154671 #6E1571 #714015 #187115
split-complementary
#154671 #711518 #716E15
monochromatic
#05101A #0B263D #154671 #1F66A5 #2986D7

Accessibility & contrast

On white

9.78
#154671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154671
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154671#FFFFFF#000000##FFFFFF
##1546711.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154671;
/* rgb */ color: rgb(21, 70, 113);
/* oklch */ color: oklch(38.5% 0.090 249.0);
Tailwind
colors: {
  custom: {
    50: '#62799a',
    500: '#154671',
    950: '#000000',
  },
}
SCSS
$custom: #154671;
$custom-light: #62799a;
$custom-dark: #000000;
JSON
{
  "hex": "#154671",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 113
  },
  "hsl": {
    "h": 208.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.0896,
    "h": 249
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#154671
secondary
#A76D3B
accent
#8E3CEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154671

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

Preview Lab → · Contrast checker → · Palette generator →

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