#228CA4#228CA4

#228CA4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.3% C 0.097 H 217.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#228CA4
RGBrgb(34, 140, 164)
HSLhsl(191, 66%, 39%)
HSVhsv(191, 79%, 64%)
CMYKcmyk(79.3%, 14.6%, 0%, 35.7%)
CIE-LABlab(53.79, -20.56, -21.03)
CIE-LCHlch(53.79, 29.41, 225.64°)
OKLaboklab(59.34% -0.0775 -0.0587)
OKLCHoklch(59.34% 0.097 217.2)
XYZxyz(16.7358, 21.7745, 38.4356)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CA4 #A43A22
analogous
#22A47B #228CA4 #224BA4
triadic
#228CA4 #A4228C #8CA422
tetradic
#228CA4 #7B22A4 #A43A22 #4BA422
square
#228CA4 #7B22A4 #A43A22 #4BA422
split-complementary
#228CA4 #A4224B #A47B22
monochromatic
#0D353F #176171 #228CA4 #2FB6D4 #62C7DE

Accessibility & contrast

On white

3.92
#228CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#228CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CA4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CA4#FFFFFF#000000##000000
##228CA41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A5
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ca4;
/* rgb */ color: rgb(34, 140, 164);
/* oklch */ color: oklch(59.3% 0.097 217.2);
Tailwind
colors: {
  custom: {
    50: '#74adbf',
    500: '#228ca4',
    950: '#000000',
  },
}
SCSS
$custom: #228ca4;
$custom-light: #74adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#228ca4",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 164
  },
  "hsl": {
    "h": 191.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.09725,
    "h": 217.2
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#228CA4
secondary
#C4715E
accent
#5E3FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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