#154179#154179

#154179 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.8% C 0.107 H 256.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#154179
RGBrgb(21, 65, 121)
HSLhsl(214, 70%, 28%)
HSVhsv(214, 83%, 47%)
CMYKcmyk(82.6%, 46.3%, 0%, 52.5%)
CIE-LABlab(27.63, 7.08, -36.18)
CIE-LCHlch(27.63, 36.86, 281.08°)
OKLaboklab(37.8% -0.0253 -0.1037)
OKLCHoklch(37.8% 0.107 256.3)
XYZxyz(5.6495, 5.3198, 18.8145)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154179 #794D15
analogous
#157379 #154179 #1B1579
triadic
#154179 #791541 #417915
tetradic
#154179 #791573 #794D15 #15791B
square
#154179 #791573 #794D15 #15791B
split-complementary
#154179 #791B15 #737915
monochromatic
#050E1A #0C2545 #154179 #1E5DAD #2E7ADB

Accessibility & contrast

On white

10.17
#154179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#154179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154179
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154179#FFFFFF#000000##FFFFFF
##1541791.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154179;
/* rgb */ color: rgb(21, 65, 121);
/* oklch */ color: oklch(37.8% 0.107 256.3);
Tailwind
colors: {
  custom: {
    50: '#6475a0',
    500: '#154179',
    950: '#000000',
  },
}
SCSS
$custom: #154179;
$custom-light: #6475a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154179",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 121
  },
  "hsl": {
    "h": 213.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.10679,
    "h": 256.3
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#154179
secondary
#AF7C3B
accent
#9F3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154179

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

Preview Lab → · Contrast checker → · Palette generator →

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