#228AA2#228AA2

#228AA2 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.7% C 0.096 H 217.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#228AA2
RGBrgb(34, 138, 162)
HSLhsl(191, 65%, 38%)
HSVhsv(191, 79%, 64%)
CMYKcmyk(79%, 14.8%, 0%, 36.5%)
CIE-LABlab(53.08, -20.17, -20.95)
CIE-LCHlch(53.08, 29.08, 226.08°)
OKLaboklab(58.75% -0.0763 -0.0585)
OKLCHoklch(58.75% 0.096 217.5)
XYZxyz(16.2670, 21.1237, 37.3953)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA2 #A23A22
analogous
#22A27A #228AA2 #224AA2
triadic
#228AA2 #A2228A #8AA222
tetradic
#228AA2 #7A22A2 #A23A22 #4AA222
square
#228AA2 #7A22A2 #A23A22 #4AA222
split-complementary
#228AA2 #A2224A #A27A22
monochromatic
#0D343D #175F6F #228AA2 #2EB4D3 #61C6DE

Accessibility & contrast

On white

4.02
#228AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#228AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA2#FFFFFF#000000##000000
##228AA21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A3
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa2;
/* rgb */ color: rgb(34, 138, 162);
/* oklch */ color: oklch(58.7% 0.096 217.5);
Tailwind
colors: {
  custom: {
    50: '#73acbd',
    500: '#228aa2',
    950: '#000000',
  },
}
SCSS
$custom: #228aa2;
$custom-light: #73acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa2",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 191.25,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.09621,
    "h": 217.5
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#228AA2
secondary
#C3705D
accent
#5F40E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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