#22879D#22879D

#22879D is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.8% C 0.093 H 216.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#22879D
RGBrgb(34, 135, 157)
HSLhsl(191, 64%, 37%)
HSVhsv(191, 78%, 62%)
CMYKcmyk(78.3%, 14%, 0%, 38.4%)
CIE-LABlab(51.95, -20.27, -19.79)
CIE-LCHlch(51.95, 28.33, 224.32°)
OKLaboklab(57.77% -0.0754 -0.0553)
OKLCHoklch(57.77% 0.093 216.2)
XYZxyz(15.4069, 20.1005, 34.9595)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22879D #9D3822
analogous
#229D76 #22879D #22499D
triadic
#22879D #9D2287 #879D22
tetradic
#22879D #76229D #9D3822 #499D22
square
#22879D #76229D #9D3822 #499D22
split-complementary
#22879D #9D2249 #9D7622
monochromatic
#0C3038 #175C6B #22879D #2DB2CF #5DC5DC

Accessibility & contrast

On white

4.18
#22879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#22879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22879D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22879D#FFFFFF#000000##000000
##22879D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839E
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #22879d;
/* rgb */ color: rgb(34, 135, 157);
/* oklch */ color: oklch(57.8% 0.093 216.2);
Tailwind
colors: {
  custom: {
    50: '#72aaba',
    500: '#22879d',
    950: '#000000',
  },
}
SCSS
$custom: #22879d;
$custom-light: #72aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#22879d",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 190.732,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.09349,
    "h": 216.2
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#22879D
secondary
#C16D5A
accent
#5E40E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #22879D

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

Preview Lab → · Contrast checker → · Palette generator →

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