#228AA6#228AA6

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

Color values

HEX#228AA6
RGBrgb(34, 138, 166)
HSLhsl(193, 66%, 39%)
HSVhsv(193, 80%, 65%)
CMYKcmyk(79.5%, 16.9%, 0%, 34.9%)
CIE-LABlab(53.24, -18.81, -23.01)
CIE-LCHlch(53.24, 29.72, 230.74°)
OKLaboklab(58.92% -0.0747 -0.0644)
OKLCHoklch(58.92% 0.099 220.8)
XYZxyz(16.6282, 21.2682, 39.2978)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AA6 #A63E22
analogous
#22A680 #228AA6 #2248A6
triadic
#228AA6 #A6228A #8AA622
tetradic
#228AA6 #8022A6 #A63E22 #48A622
square
#228AA6 #8022A6 #A63E22 #48A622
split-complementary
#228AA6 #A62248 #A68022
monochromatic
#0D3640 #186073 #228AA6 #30B2D5 #63C5DF

Accessibility & contrast

On white

4.00
#228AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#228AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AA6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AA6#FFFFFF#000000##000000
##228AA61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A7
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228aa6;
/* rgb */ color: rgb(34, 138, 166);
/* oklch */ color: oklch(58.9% 0.099 220.8);
Tailwind
colors: {
  custom: {
    50: '#74acc0',
    500: '#228aa6',
    950: '#000000',
  },
}
SCSS
$custom: #228aa6;
$custom-light: #74acc0;
$custom-dark: #000000;
JSON
{
  "hex": "#228aa6",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 166
  },
  "hsl": {
    "h": 192.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.09866,
    "h": 220.8
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#228AA6
secondary
#C4755F
accent
#633FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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