#154870#154870

#154870 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.9% C 0.086 H 246.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#154870
RGBrgb(21, 72, 112)
HSLhsl(206, 68%, 26%)
HSVhsv(206, 81%, 44%)
CMYKcmyk(81.2%, 35.7%, 0%, 56.1%)
CIE-LABlab(29.32, -1.36, -27.81)
CIE-LCHlch(29.32, 27.84, 267.19°)
OKLaboklab(38.95% -0.0343 -0.079)
OKLCHoklch(38.95% 0.086 246.5)
XYZxyz(5.5501, 5.9634, 16.1846)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154870 #703D15
analogous
#15706A #154870 #151A70
triadic
#154870 #701548 #487015
tetradic
#154870 #6A1570 #703D15 #1A7015
square
#154870 #6A1570 #703D15 #1A7015
split-complementary
#154870 #70151A #706A15
monochromatic
#05111A #0B273C #154870 #1F69A4 #298AD7

Accessibility & contrast

On white

9.58
#154870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#154870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154870
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154870#FFFFFF#000000##FFFFFF
##1548701.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A72
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#005256
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154870;
/* rgb */ color: rgb(21, 72, 112);
/* oklch */ color: oklch(38.9% 0.086 246.5);
Tailwind
colors: {
  custom: {
    50: '#627a99',
    500: '#154870',
    950: '#000000',
  },
}
SCSS
$custom: #154870;
$custom-light: #627a99;
$custom-dark: #000000;
JSON
{
  "hex": "#154870",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 206.374,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.08618,
    "h": 246.5
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#154870
secondary
#A66A3B
accent
#893DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154870

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

Preview Lab → · Contrast checker → · Palette generator →

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