#154170#154170

#154170 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.2% C 0.094 H 253.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#154170
RGBrgb(21, 65, 112)
HSLhsl(211, 68%, 26%)
HSVhsv(211, 81%, 44%)
CMYKcmyk(81.2%, 42%, 0%, 56.1%)
CIE-LABlab(27.04, 3.34, -31.42)
CIE-LCHlch(27.04, 31.60, 276.06°)
OKLaboklab(37.16% -0.0274 -0.0897)
OKLCHoklch(37.16% 0.094 253)
XYZxyz(5.1231, 5.1093, 16.0423)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154170 #704415
analogous
#156E70 #154170 #161570
triadic
#154170 #701541 #417015
tetradic
#154170 #70156E #704415 #157016
square
#154170 #70156E #704415 #157016
split-complementary
#154170 #701615 #6E7015
monochromatic
#050F1A #0B233C #154170 #1F5FA4 #297DD7

Accessibility & contrast

On white

10.39
#154170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154170
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154170#FFFFFF#000000##FFFFFF
##1541701.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#1C3C6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154170;
/* rgb */ color: rgb(21, 65, 112);
/* oklch */ color: oklch(37.2% 0.094 253.0);
Tailwind
colors: {
  custom: {
    50: '#627599',
    500: '#154170',
    950: '#000000',
  },
}
SCSS
$custom: #154170;
$custom-light: #627599;
$custom-dark: #000000;
JSON
{
  "hex": "#154170",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 210.989,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.09385,
    "h": 253
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#154170
secondary
#A6723B
accent
#973DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154170

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

Preview Lab → · Contrast checker → · Palette generator →

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