#22579A#22579A

#22579A is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.123 H 255.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#22579A
RGBrgb(34, 87, 154)
HSLhsl(214, 64%, 37%)
HSVhsv(214, 78%, 60%)
CMYKcmyk(77.9%, 43.5%, 0%, 39.6%)
CIE-LABlab(36.91, 7.19, -41.58)
CIE-LCHlch(36.91, 42.20, 279.81°)
OKLaboklab(45.8% -0.0298 -0.119)
OKLCHoklch(45.8% 0.123 255.9)
XYZxyz(9.8985, 9.4884, 31.8753)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22579A #9A6522
analogous
#22939A #22579A #29229A
triadic
#22579A #9A2257 #579A22
tetradic
#22579A #9A2293 #9A6522 #229A29
square
#22579A #9A2293 #9A6522 #229A29
split-complementary
#22579A #9A2922 #939A22
monochromatic
#0C1E36 #173B68 #22579A #2D73CC #5B94DB

Accessibility & contrast

On white

7.25
#22579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22579A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22579A#FFFFFF#000000##FFFFFF
##22579A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #22579a;
/* rgb */ color: rgb(34, 87, 154);
/* oklch */ color: oklch(45.8% 0.123 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f85b8',
    500: '#22579a',
    950: '#000000',
  },
}
SCSS
$custom: #22579a;
$custom-light: #6f85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22579a",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 213.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.12268,
    "h": 255.9
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#22579A
secondary
#BF9258
accent
#9E41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #22579A

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

Preview Lab → · Contrast checker → · Palette generator →

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