#228DA7#228DA7

#228DA7 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.7% C 0.099 H 218.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#228DA7
RGBrgb(34, 141, 167)
HSLhsl(192, 66%, 39%)
HSVhsv(192, 80%, 65%)
CMYKcmyk(79.6%, 15.6%, 0%, 34.5%)
CIE-LABlab(54.22, -20.08, -22.09)
CIE-LCHlch(54.22, 29.85, 227.74°)
OKLaboklab(59.72% -0.0773 -0.0618)
OKLCHoklch(59.72% 0.099 218.6)
XYZxyz(17.1567, 22.1777, 39.9282)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DA7 #A73C22
analogous
#22A77E #228DA7 #224BA7
triadic
#228DA7 #A7228D #8DA722
tetradic
#228DA7 #7E22A7 #A73C22 #4BA722
square
#228DA7 #7E22A7 #A73C22 #4BA722
split-complementary
#228DA7 #A7224B #A77E22
monochromatic
#0D3741 #186274 #228DA7 #31B5D5 #64C7DF

Accessibility & contrast

On white

3.86
#228DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#228DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DA7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DA7#FFFFFF#000000##000000
##228DA71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D89A8
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228da7;
/* rgb */ color: rgb(34, 141, 167);
/* oklch */ color: oklch(59.7% 0.099 218.6);
Tailwind
colors: {
  custom: {
    50: '#74aec1',
    500: '#228da7',
    950: '#000000',
  },
}
SCSS
$custom: #228da7;
$custom-light: #74aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#228da7",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 191.729,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.09894,
    "h": 218.6
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#228DA7
secondary
#C57460
accent
#603FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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