#22879F#22879F

#22879F is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.095 H 218.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#22879F
RGBrgb(34, 135, 159)
HSLhsl(192, 65%, 38%)
HSVhsv(192, 79%, 62%)
CMYKcmyk(78.6%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.03, -19.59, -20.84)
CIE-LCHlch(52.03, 28.60, 226.76°)
OKLaboklab(57.86% -0.0746 -0.0582)
OKLCHoklch(57.86% 0.095 218)
XYZxyz(15.5790, 20.1693, 35.8662)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22879F #9F3A22
analogous
#229F78 #22879F #22489F
triadic
#22879F #9F2287 #879F22
tetradic
#22879F #78229F #9F3A22 #489F22
square
#22879F #78229F #9F3A22 #489F22
split-complementary
#22879F #9F2248 #9F7822
monochromatic
#0C313A #175C6D #22879F #2DB2D1 #5FC5DD

Accessibility & contrast

On white

4.17
#22879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#22879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22879F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22879F#FFFFFF#000000##000000
##22879F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #22879f;
/* rgb */ color: rgb(34, 135, 159);
/* oklch */ color: oklch(57.9% 0.095 218.0);
Tailwind
colors: {
  custom: {
    50: '#72aabb',
    500: '#22879f',
    950: '#000000',
  },
}
SCSS
$custom: #22879f;
$custom-light: #72aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#22879f",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 191.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.09462,
    "h": 218
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#22879F
secondary
#C16F5B
accent
#6040E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #22879F

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

Preview Lab → · Contrast checker → · Palette generator →

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