#228EC4#228EC4

#228EC4 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 61.4% C 0.123 H 236.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#228EC4
RGBrgb(34, 142, 196)
HSLhsl(200, 70%, 45%)
HSVhsv(200, 83%, 77%)
CMYKcmyk(82.7%, 27.6%, 0%, 23.1%)
CIE-LABlab(55.75, -10.45, -36.25)
CIE-LCHlch(55.75, 37.73, 253.92°)
OKLaboklab(61.36% -0.0675 -0.1025)
OKLCHoklch(61.36% 0.123 236.6)
XYZxyz(20.2925, 23.6690, 55.7129)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EC4 #C45822
analogous
#22C4A9 #228EC4 #223DC4
triadic
#228EC4 #C4228E #8EC422
tetradic
#228EC4 #A922C4 #C45822 #3DC422
square
#228EC4 #A922C4 #C45822 #3DC422
split-complementary
#228EC4 #C4223D #C4A922
monochromatic
#10425C #196890 #228EC4 #45ABDF #79C3E8

Accessibility & contrast

On white

3.66
#228EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#228EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EC4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EC4#FFFFFF#000000##000000
##228EC41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#748EC6
Deuteranopia (green-blind)
#5E7FC3
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #228ec4;
/* rgb */ color: rgb(34, 142, 196);
/* oklch */ color: oklch(61.4% 0.123 236.6);
Tailwind
colors: {
  custom: {
    50: '#79afd6',
    500: '#228ec4',
    950: '#000000',
  },
}
SCSS
$custom: #228ec4;
$custom-light: #79afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#228ec4",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 200,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.12278,
    "h": 236.6
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#228EC4
secondary
#CF9173
accent
#763BED
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #228EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#228EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva