#228CA6#228CA6

#228CA6 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.4% C 0.098 H 218.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#228CA6
RGBrgb(34, 140, 166)
HSLhsl(192, 66%, 39%)
HSVhsv(192, 80%, 65%)
CMYKcmyk(79.5%, 15.7%, 0%, 34.9%)
CIE-LABlab(53.86, -19.88, -22.06)
CIE-LCHlch(53.86, 29.70, 227.97°)
OKLaboklab(59.43% -0.0767 -0.0617)
OKLCHoklch(59.43% 0.098 218.8)
XYZxyz(16.9178, 21.8473, 39.3943)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CA6 #A63C22
analogous
#22A67E #228CA6 #224AA6
triadic
#228CA6 #A6228C #8CA622
tetradic
#228CA6 #7E22A6 #A63C22 #4AA622
square
#228CA6 #7E22A6 #A63C22 #4AA622
split-complementary
#228CA6 #A6224A #A67E22
monochromatic
#0D3640 #186173 #228CA6 #30B4D5 #63C7DF

Accessibility & contrast

On white

3.91
#228CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#228CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CA6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CA6#FFFFFF#000000##000000
##228CA61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A7
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#009594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ca6;
/* rgb */ color: rgb(34, 140, 166);
/* oklch */ color: oklch(59.4% 0.098 218.8);
Tailwind
colors: {
  custom: {
    50: '#74adc0',
    500: '#228ca6',
    950: '#000000',
  },
}
SCSS
$custom: #228ca6;
$custom-light: #74adc0;
$custom-dark: #000000;
JSON
{
  "hex": "#228ca6",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 191.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.09842,
    "h": 218.8
  },
  "luminance": 0.21849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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