#228AA7#228AA7

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

Color values

HEX#228AA7
RGBrgb(34, 138, 167)
HSLhsl(193, 66%, 39%)
HSVhsv(193, 80%, 65%)
CMYKcmyk(79.6%, 17.4%, 0%, 34.5%)
CIE-LABlab(53.28, -18.47, -23.53)
CIE-LCHlch(53.28, 29.91, 231.87°)
OKLaboklab(58.97% -0.0743 -0.0659)
OKLCHoklch(58.97% 0.099 221.6)
XYZxyz(16.7203, 21.3050, 39.7828)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA7 #A73F22
analogous
#22A782 #228AA7 #2247A7
triadic
#228AA7 #A7228A #8AA722
tetradic
#228AA7 #8222A7 #A73F22 #47A722
square
#228AA7 #8222A7 #A73F22 #47A722
split-complementary
#228AA7 #A72247 #A78222
monochromatic
#0D3641 #186074 #228AA7 #31B1D5 #64C5DF

Accessibility & contrast

On white

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

On black

5.26
#228AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA7#FFFFFF#000000##000000
##228AA71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A9
Deuteranopia (green-blind)
#677AA7
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa7;
/* rgb */ color: rgb(34, 138, 167);
/* oklch */ color: oklch(59.0% 0.099 221.6);
Tailwind
colors: {
  custom: {
    50: '#74acc1',
    500: '#228aa7',
    950: '#000000',
  },
}
SCSS
$custom: #228aa7;
$custom-light: #74acc1;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa7",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 167
  },
  "hsl": {
    "h": 193.083,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.09933,
    "h": 221.6
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#228AA7
secondary
#C57660
accent
#643FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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