#228EA2#228EA2

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

Color values

HEX#228EA2
RGBrgb(34, 142, 162)
HSLhsl(189, 65%, 38%)
HSVhsv(189, 79%, 64%)
CMYKcmyk(79%, 12.3%, 0%, 36.5%)
CIE-LABlab(54.34, -22.28, -19.03)
CIE-LCHlch(54.34, 29.31, 220.50°)
OKLaboklab(59.75% -0.0803 -0.0531)
OKLCHoklch(59.75% 0.096 213.5)
XYZxyz(16.8515, 22.2926, 37.5902)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EA2 #A23622
analogous
#22A276 #228EA2 #224EA2
triadic
#228EA2 #A2228E #8EA222
tetradic
#228EA2 #7622A2 #A23622 #4EA222
square
#228EA2 #7622A2 #A23622 #4EA222
split-complementary
#228EA2 #A2224E #A27622
monochromatic
#0D353D #17626F #228EA2 #2EB9D3 #61CADE

Accessibility & contrast

On white

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

On black

5.46
#228EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EA2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EA2#FFFFFF#000000##000000
##228EA21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#6E7DA2
Tritanopia (blue-blind)
#009694
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228ea2;
/* rgb */ color: rgb(34, 142, 162);
/* oklch */ color: oklch(59.8% 0.096 213.5);
Tailwind
colors: {
  custom: {
    50: '#73afbd',
    500: '#228ea2',
    950: '#000000',
  },
}
SCSS
$custom: #228ea2;
$custom-light: #73afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#228ea2",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 189.375,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.09629,
    "h": 213.5
  },
  "luminance": 0.22295
}

Semantic roles & 50–950 ramp

primary
#228EA2
secondary
#C36D5D
accent
#5A40E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #228EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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