#154770#154770

#154770 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.087 H 247.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#154770
RGBrgb(21, 71, 112)
HSLhsl(207, 68%, 26%)
HSVhsv(207, 81%, 44%)
CMYKcmyk(81.2%, 36.6%, 0%, 56.1%)
CIE-LABlab(28.99, -0.70, -28.32)
CIE-LCHlch(28.99, 28.33, 268.58°)
OKLaboklab(38.69% -0.0333 -0.0806)
OKLCHoklch(38.69% 0.087 247.5)
XYZxyz(5.4860, 5.8351, 16.1632)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154770 #703E15
analogous
#15706B #154770 #151970
triadic
#154770 #701547 #477015
tetradic
#154770 #6B1570 #703E15 #197015
square
#154770 #6B1570 #703E15 #197015
split-complementary
#154770 #701519 #706B15
monochromatic
#05101A #0B263C #154770 #1F68A4 #2988D7

Accessibility & contrast

On white

9.69
#154770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154770
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154770#FFFFFF#000000##FFFFFF
##1547701.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154770;
/* rgb */ color: rgb(21, 71, 112);
/* oklch */ color: oklch(38.7% 0.087 247.5);
Tailwind
colors: {
  custom: {
    50: '#627999',
    500: '#154770',
    950: '#000000',
  },
}
SCSS
$custom: #154770;
$custom-light: #627999;
$custom-dark: #000000;
JSON
{
  "hex": "#154770",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 112
  },
  "hsl": {
    "h": 207.033,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.0872,
    "h": 247.5
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#154770
secondary
#A66B3B
accent
#8B3DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154770

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

Preview Lab → · Contrast checker → · Palette generator →

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