#228AA8#228AA8

#228AA8 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.0% C 0.100 H 222.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#228AA8
RGBrgb(34, 138, 168)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 80%, 66%)
CMYKcmyk(79.8%, 17.9%, 0%, 34.1%)
CIE-LABlab(53.32, -18.12, -24.04)
CIE-LCHlch(53.32, 30.11, 232.99°)
OKLaboklab(59.01% -0.0739 -0.0674)
OKLCHoklch(59.01% 0.1 222.3)
XYZxyz(16.8131, 21.3421, 40.2715)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA8 #A84022
analogous
#22A883 #228AA8 #2247A8
triadic
#228AA8 #A8228A #8AA822
tetradic
#228AA8 #8322A8 #A84022 #47A822
square
#228AA8 #8322A8 #A84022 #47A822
split-complementary
#228AA8 #A82247 #A88322
monochromatic
#0D3642 #186075 #228AA8 #32B1D5 #65C4E0

Accessibility & contrast

On white

3.99
#228AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#228AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA8#FFFFFF#000000##000000
##228AA81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AA
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa8;
/* rgb */ color: rgb(34, 138, 168);
/* oklch */ color: oklch(59.0% 0.100 222.3);
Tailwind
colors: {
  custom: {
    50: '#74acc2',
    500: '#228aa8',
    950: '#000000',
  },
}
SCSS
$custom: #228aa8;
$custom-light: #74acc2;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa8",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 168
  },
  "hsl": {
    "h": 193.433,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.10002,
    "h": 222.3
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#228AA8
secondary
#C57761
accent
#653FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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