#22579D#22579D

#22579D is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.127 H 256.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#22579D
RGBrgb(34, 87, 157)
HSLhsl(214, 64%, 37%)
HSVhsv(214, 78%, 62%)
CMYKcmyk(78.3%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.10, 8.37, -43.08)
CIE-LCHlch(37.10, 43.89, 280.99°)
OKLaboklab(46% -0.0292 -0.1234)
OKLCHoklch(46% 0.127 256.7)
XYZxyz(10.1514, 9.5896, 33.2077)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22579D #9D6822
analogous
#22959D #22579D #2A229D
triadic
#22579D #9D2257 #579D22
tetradic
#22579D #9D2295 #9D6822 #229D2A
square
#22579D #9D2295 #9D6822 #229D2A
split-complementary
#22579D #9D2A22 #959D22
monochromatic
#0C1F38 #173B6B #22579D #2D73CF #5D94DC

Accessibility & contrast

On white

7.20
#22579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#22579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22579D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22579D#FFFFFF#000000##FFFFFF
##22579D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #22579d;
/* rgb */ color: rgb(34, 87, 157);
/* oklch */ color: oklch(46.0% 0.127 256.7);
Tailwind
colors: {
  custom: {
    50: '#7085ba',
    500: '#22579d',
    950: '#000000',
  },
}
SCSS
$custom: #22579d;
$custom-light: #7085ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22579d",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 214.146,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.12682,
    "h": 256.7
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#22579D
secondary
#C1945A
accent
#9F40E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #22579D

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

Preview Lab → · Contrast checker → · Palette generator →

#22579D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva