#154871#154871

#154871 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.0% C 0.088 H 247.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#154871
RGBrgb(21, 72, 113)
HSLhsl(207, 69%, 26%)
HSVhsv(207, 81%, 44%)
CMYKcmyk(81.4%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.38, -0.96, -28.35)
CIE-LCHlch(29.38, 28.36, 268.07°)
OKLaboklab(39.01% -0.034 -0.0806)
OKLCHoklch(39.01% 0.088 247.1)
XYZxyz(5.6061, 5.9857, 16.4795)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154871 #713E15
analogous
#15716C #154871 #151A71
triadic
#154871 #711548 #487115
tetradic
#154871 #6C1571 #713E15 #1A7115
square
#154871 #6C1571 #713E15 #1A7115
split-complementary
#154871 #71151A #716C15
monochromatic
#05101A #0B273D #154871 #1F69A5 #298AD7

Accessibility & contrast

On white

9.56
#154871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154871
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154871#FFFFFF#000000##FFFFFF
##1548711.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#284170
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154871;
/* rgb */ color: rgb(21, 72, 113);
/* oklch */ color: oklch(39.0% 0.088 247.1);
Tailwind
colors: {
  custom: {
    50: '#627a9a',
    500: '#154871',
    950: '#000000',
  },
}
SCSS
$custom: #154871;
$custom-light: #627a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#154871",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 206.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.08751,
    "h": 247.1
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#154871
secondary
#A76B3B
accent
#8A3CEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154871

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

Preview Lab → · Contrast checker → · Palette generator →

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