#22579B#22579B

#22579B is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.124 H 256.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#22579B
RGBrgb(34, 87, 155)
HSLhsl(214, 64%, 37%)
HSVhsv(214, 78%, 61%)
CMYKcmyk(78.1%, 43.9%, 0%, 39.2%)
CIE-LABlab(36.97, 7.58, -42.08)
CIE-LCHlch(36.97, 42.76, 280.21°)
OKLaboklab(45.87% -0.0296 -0.1205)
OKLCHoklch(45.87% 0.124 256.2)
XYZxyz(9.9821, 9.5219, 32.3158)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22579B #9B6622
analogous
#22949B #22579B #2A229B
triadic
#22579B #9B2257 #579B22
tetradic
#22579B #9B2294 #9B6622 #229B2A
square
#22579B #9B2294 #9B6622 #229B2A
split-complementary
#22579B #9B2A22 #949B22
monochromatic
#0C1F37 #173B69 #22579B #2D73CD #5C94DB

Accessibility & contrast

On white

7.23
#22579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#22579B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22579B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22579B#FFFFFF#000000##FFFFFF
##22579B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #22579b;
/* rgb */ color: rgb(34, 87, 155);
/* oklch */ color: oklch(45.9% 0.124 256.2);
Tailwind
colors: {
  custom: {
    50: '#7085b9',
    500: '#22579b',
    950: '#000000',
  },
}
SCSS
$custom: #22579b;
$custom-light: #7085b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22579b",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 213.719,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45865,
    "c": 0.12406,
    "h": 256.2
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#22579B
secondary
#C09359
accent
#9E41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #22579B

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

Preview Lab → · Contrast checker → · Palette generator →

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