#154679#154679

#154679 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.0% C 0.101 H 252.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#154679
RGBrgb(21, 70, 121)
HSLhsl(211, 70%, 28%)
HSVhsv(211, 83%, 47%)
CMYKcmyk(82.6%, 42.1%, 0%, 52.5%)
CIE-LABlab(29.21, 3.66, -33.65)
CIE-LCHlch(29.21, 33.85, 276.21°)
OKLaboklab(39.03% -0.0299 -0.0962)
OKLCHoklch(39.03% 0.101 252.8)
XYZxyz(5.9493, 5.9195, 18.9145)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154679 #794815
analogous
#157879 #154679 #161579
triadic
#154679 #791546 #467915
tetradic
#154679 #791578 #794815 #157916
square
#154679 #791578 #794815 #157916
split-complementary
#154679 #791615 #787915
monochromatic
#050F1A #0C2845 #154679 #1E64AD #2E82DB

Accessibility & contrast

On white

9.62
#154679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#154679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154679
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154679#FFFFFF#000000##FFFFFF
##1546791.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154679;
/* rgb */ color: rgb(21, 70, 121);
/* oklch */ color: oklch(39.0% 0.101 252.8);
Tailwind
colors: {
  custom: {
    50: '#6479a0',
    500: '#154679',
    950: '#000000',
  },
}
SCSS
$custom: #154679;
$custom-light: #6479a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154679",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 121
  },
  "hsl": {
    "h": 210.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.10073,
    "h": 252.8
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#154679
secondary
#AF763B
accent
#963BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154679

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

Preview Lab → · Contrast checker → · Palette generator →

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