#228EA1#228EA1

#228EA1 is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.7% C 0.096 H 212.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#228EA1
RGBrgb(34, 142, 161)
HSLhsl(189, 65%, 38%)
HSVhsv(189, 79%, 63%)
CMYKcmyk(78.9%, 11.8%, 0%, 36.9%)
CIE-LABlab(54.30, -22.62, -18.52)
CIE-LCHlch(54.30, 29.23, 219.31°)
OKLaboklab(59.71% -0.0807 -0.0516)
OKLCHoklch(59.71% 0.096 212.6)
XYZxyz(16.7629, 22.2572, 37.1239)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EA1 #A13522
analogous
#22A174 #228EA1 #224FA1
triadic
#228EA1 #A1228E #8EA122
tetradic
#228EA1 #7422A1 #A13522 #4FA122
square
#228EA1 #7422A1 #A13522 #4FA122
split-complementary
#228EA1 #A1224F #A17422
monochromatic
#0D353C #17616E #228EA1 #2DBAD3 #60CBDD

Accessibility & contrast

On white

3.85
#228EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#228EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EA1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EA1#FFFFFF#000000##000000
##228EA11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8089A2
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#009694
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228ea1;
/* rgb */ color: rgb(34, 142, 161);
/* oklch */ color: oklch(59.7% 0.096 212.6);
Tailwind
colors: {
  custom: {
    50: '#73afbc',
    500: '#228ea1',
    950: '#000000',
  },
}
SCSS
$custom: #228ea1;
$custom-light: #73afbc;
$custom-dark: #000000;
JSON
{
  "hex": "#228ea1",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 188.976,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.09584,
    "h": 212.6
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#228EA1
secondary
#C26C5D
accent
#5940E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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