#228CA7#228CA7

#228CA7 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.5% C 0.099 H 219.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#228CA7
RGBrgb(34, 140, 167)
HSLhsl(192, 66%, 39%)
HSVhsv(192, 80%, 65%)
CMYKcmyk(79.6%, 16.2%, 0%, 34.5%)
CIE-LABlab(53.90, -19.54, -22.57)
CIE-LCHlch(53.90, 29.86, 229.11°)
OKLaboklab(59.47% -0.0763 -0.0632)
OKLCHoklch(59.47% 0.099 219.6)
XYZxyz(17.0099, 21.8842, 39.8793)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CA7 #A73D22
analogous
#22A77F #228CA7 #224AA7
triadic
#228CA7 #A7228C #8CA722
tetradic
#228CA7 #7F22A7 #A73D22 #4AA722
square
#228CA7 #7F22A7 #A73D22 #4AA722
split-complementary
#228CA7 #A7224A #A77F22
monochromatic
#0D3741 #186174 #228CA7 #31B4D5 #64C6DF

Accessibility & contrast

On white

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

On black

5.38
#228CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CA7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CA7#FFFFFF#000000##000000
##228CA71.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A8
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ca7;
/* rgb */ color: rgb(34, 140, 167);
/* oklch */ color: oklch(59.5% 0.099 219.6);
Tailwind
colors: {
  custom: {
    50: '#74adc1',
    500: '#228ca7',
    950: '#000000',
  },
}
SCSS
$custom: #228ca7;
$custom-light: #74adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#228ca7",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 192.18,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.09904,
    "h": 219.6
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#228CA7
secondary
#C57560
accent
#613FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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