#154779#154779

#154779 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.3% C 0.100 H 252.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#154779
RGBrgb(21, 71, 121)
HSLhsl(210, 70%, 28%)
HSVhsv(210, 83%, 47%)
CMYKcmyk(82.6%, 41.3%, 0%, 52.5%)
CIE-LABlab(29.53, 2.98, -33.14)
CIE-LCHlch(29.53, 33.27, 275.15°)
OKLaboklab(39.28% -0.0308 -0.0947)
OKLCHoklch(39.28% 0.1 252)
XYZxyz(6.0124, 6.0457, 18.9355)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154779 #794715
analogous
#157979 #154779 #151579
triadic
#154779 #791547 #477915
tetradic
#154779 #791579 #794715 #157915
square
#154779 #791579 #794715 #157915
split-complementary
#154779 #791515 #797915
monochromatic
#050F1A #0C2845 #154779 #1E66AD #2E84DB

Accessibility & contrast

On white

9.51
#154779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#154779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154779
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154779#FFFFFF#000000##FFFFFF
##1547791.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154779;
/* rgb */ color: rgb(21, 71, 121);
/* oklch */ color: oklch(39.3% 0.100 252.0);
Tailwind
colors: {
  custom: {
    50: '#6479a0',
    500: '#154779',
    950: '#000000',
  },
}
SCSS
$custom: #154779;
$custom-light: #6479a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154779",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 210,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.09956,
    "h": 252
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#154779
secondary
#AF753B
accent
#943BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154779

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

Preview Lab → · Contrast checker → · Palette generator →

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