#22579F#22579F

#22579F is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.130 H 257.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#22579F
RGBrgb(34, 87, 159)
HSLhsl(215, 65%, 38%)
HSVhsv(215, 79%, 62%)
CMYKcmyk(78.6%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.22, 9.15, -44.08)
CIE-LCHlch(37.22, 45.02, 281.73°)
OKLaboklab(46.14% -0.0288 -0.1263)
OKLCHoklch(46.14% 0.13 257.2)
XYZxyz(10.3236, 9.6585, 34.1143)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22579F #9F6A22
analogous
#22959F #22579F #2B229F
triadic
#22579F #9F2257 #579F22
tetradic
#22579F #9F2295 #9F6A22 #229F2B
square
#22579F #9F2295 #9F6A22 #229F2B
split-complementary
#22579F #9F2B22 #959F22
monochromatic
#0C203A #173B6D #22579F #2D73D1 #5F94DD

Accessibility & contrast

On white

7.16
#22579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#22579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22579F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22579F#FFFFFF#000000##FFFFFF
##22579F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#18529E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #22579f;
/* rgb */ color: rgb(34, 87, 159);
/* oklch */ color: oklch(46.1% 0.130 257.2);
Tailwind
colors: {
  custom: {
    50: '#7085bc',
    500: '#22579f',
    950: '#000000',
  },
}
SCSS
$custom: #22579f;
$custom-light: #7085bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22579f",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 214.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.12958,
    "h": 257.2
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#22579F
secondary
#C1965B
accent
#A140E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #22579F

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

Preview Lab → · Contrast checker → · Palette generator →

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