#22579C#22579C

#22579C is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.125 H 256.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#22579C
RGBrgb(34, 87, 156)
HSLhsl(214, 64%, 37%)
HSVhsv(214, 78%, 61%)
CMYKcmyk(78.2%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.03, 7.97, -42.58)
CIE-LCHlch(37.03, 43.32, 280.61°)
OKLaboklab(45.93% -0.0294 -0.1219)
OKLCHoklch(45.93% 0.125 256.5)
XYZxyz(10.0664, 9.5556, 32.7599)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22579C #9C6722
analogous
#22949C #22579C #2A229C
triadic
#22579C #9C2257 #579C22
tetradic
#22579C #9C2294 #9C6722 #229C2A
square
#22579C #9C2294 #9C6722 #229C2A
split-complementary
#22579C #9C2A22 #949C22
monochromatic
#0C1F38 #173B6A #22579C #2D73CE #5D94DC

Accessibility & contrast

On white

7.21
#22579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#22579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22579C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22579C#FFFFFF#000000##FFFFFF
##22579C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#1D529B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #22579c;
/* rgb */ color: rgb(34, 87, 156);
/* oklch */ color: oklch(45.9% 0.125 256.5);
Tailwind
colors: {
  custom: {
    50: '#7085ba',
    500: '#22579c',
    950: '#000000',
  },
}
SCSS
$custom: #22579c;
$custom-light: #7085ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22579c",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 213.934,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.12544,
    "h": 256.5
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#22579C
secondary
#C0945A
accent
#9F41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #22579C

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

Preview Lab → · Contrast checker → · Palette generator →

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