#228EA7#228EA7

#228EA7 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.0% C 0.099 H 217.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#228EA7
RGBrgb(34, 142, 167)
HSLhsl(191, 66%, 39%)
HSVhsv(191, 80%, 65%)
CMYKcmyk(79.6%, 15%, 0%, 34.5%)
CIE-LABlab(54.53, -20.61, -21.62)
CIE-LCHlch(54.53, 29.86, 226.37°)
OKLaboklab(59.97% -0.0782 -0.0604)
OKLCHoklch(59.97% 0.099 217.7)
XYZxyz(17.3048, 22.4740, 39.9776)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EA7 #A73B22
analogous
#22A77E #228EA7 #224CA7
triadic
#228EA7 #A7228E #8EA722
tetradic
#228EA7 #7E22A7 #A73B22 #4CA722
square
#228EA7 #7E22A7 #A73B22 #4CA722
split-complementary
#228EA7 #A7224C #A77E22
monochromatic
#0D3841 #186374 #228EA7 #31B6D5 #64C8DF

Accessibility & contrast

On white

3.82
#228EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#228EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EA7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EA7#FFFFFF#000000##000000
##228EA71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228ea7;
/* rgb */ color: rgb(34, 142, 167);
/* oklch */ color: oklch(60.0% 0.099 217.7);
Tailwind
colors: {
  custom: {
    50: '#74afc1',
    500: '#228ea7',
    950: '#000000',
  },
}
SCSS
$custom: #228ea7;
$custom-light: #74afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#228ea7",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 191.278,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.09887,
    "h": 217.7
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#228EA7
secondary
#C57360
accent
#5F3FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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