#228AA4#228AA4

#228AA4 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 58.8% C 0.097 H 219.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#228AA4
RGBrgb(34, 138, 164)
HSLhsl(192, 66%, 39%)
HSVhsv(192, 79%, 64%)
CMYKcmyk(79.3%, 15.9%, 0%, 35.7%)
CIE-LABlab(53.16, -19.49, -21.98)
CIE-LCHlch(53.16, 29.38, 228.43°)
OKLaboklab(58.83% -0.0755 -0.0615)
OKLCHoklch(58.83% 0.097 219.2)
XYZxyz(16.4462, 21.1953, 38.3391)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA4 #A43C22
analogous
#22A47D #228AA4 #2249A4
triadic
#228AA4 #A4228A #8AA422
tetradic
#228AA4 #7D22A4 #A43C22 #49A422
square
#228AA4 #7D22A4 #A43C22 #49A422
split-complementary
#228AA4 #A42249 #A47D22
monochromatic
#0D353F #175F71 #228AA4 #2FB3D4 #62C6DE

Accessibility & contrast

On white

4.01
#228AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#228AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA4#FFFFFF#000000##000000
##228AA41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A5
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa4;
/* rgb */ color: rgb(34, 138, 164);
/* oklch */ color: oklch(58.8% 0.097 219.2);
Tailwind
colors: {
  custom: {
    50: '#73acbf',
    500: '#228aa4',
    950: '#000000',
  },
}
SCSS
$custom: #228aa4;
$custom-light: #73acbf;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa4",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 164
  },
  "hsl": {
    "h": 192,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.09739,
    "h": 219.2
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#228AA4
secondary
#C4735E
accent
#613FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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