#154079#154079

#154079 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.6% C 0.108 H 256.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#154079
RGBrgb(21, 64, 121)
HSLhsl(214, 70%, 28%)
HSVhsv(214, 83%, 47%)
CMYKcmyk(82.6%, 47.1%, 0%, 52.5%)
CIE-LABlab(27.31, 7.78, -36.68)
CIE-LCHlch(27.31, 37.50, 281.97°)
OKLaboklab(37.56% -0.0244 -0.1052)
OKLCHoklch(37.56% 0.108 256.9)
XYZxyz(5.5926, 5.2060, 18.7956)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154079 #794E15
analogous
#157279 #154079 #1C1579
triadic
#154079 #791540 #407915
tetradic
#154079 #791572 #794E15 #15791C
square
#154079 #791572 #794E15 #15791C
split-complementary
#154079 #791C15 #727915
monochromatic
#050E1A #0C2445 #154079 #1E5CAD #2E78DB

Accessibility & contrast

On white

10.29
#154079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154079
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154079#FFFFFF#000000##FFFFFF
##1540791.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#0B3C78
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154079;
/* rgb */ color: rgb(21, 64, 121);
/* oklch */ color: oklch(37.6% 0.108 256.9);
Tailwind
colors: {
  custom: {
    50: '#6474a0',
    500: '#154079',
    950: '#000000',
  },
}
SCSS
$custom: #154079;
$custom-light: #6474a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154079",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 214.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.10804,
    "h": 256.9
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#154079
secondary
#AF7D3B
accent
#A03BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154079

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

Preview Lab → · Contrast checker → · Palette generator →

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