#228EA5#228EA5

#228EA5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 59.9% C 0.098 H 216.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#228EA5
RGBrgb(34, 142, 165)
HSLhsl(191, 66%, 39%)
HSVhsv(191, 79%, 65%)
CMYKcmyk(79.4%, 13.9%, 0%, 35.3%)
CIE-LABlab(54.45, -21.28, -20.59)
CIE-LCHlch(54.45, 29.61, 224.05°)
OKLaboklab(59.88% -0.0791 -0.0575)
OKLCHoklch(59.88% 0.098 216)
XYZxyz(17.1213, 22.4006, 39.0114)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EA5 #A53922
analogous
#22A57B #228EA5 #224DA5
triadic
#228EA5 #A5228E #8EA522
tetradic
#228EA5 #7B22A5 #A53922 #4DA522
square
#228EA5 #7B22A5 #A53922 #4DA522
split-complementary
#228EA5 #A5224D #A57B22
monochromatic
#0D3740 #186272 #228EA5 #30B7D4 #63C9DF

Accessibility & contrast

On white

3.83
#228EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#228EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EA5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EA5#FFFFFF#000000##000000
##228EA51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A6
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228ea5;
/* rgb */ color: rgb(34, 142, 165);
/* oklch */ color: oklch(59.9% 0.098 216.0);
Tailwind
colors: {
  custom: {
    50: '#74afbf',
    500: '#228ea5',
    950: '#000000',
  },
}
SCSS
$custom: #228ea5;
$custom-light: #74afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#228ea5",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 190.534,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.09777,
    "h": 216
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#228EA5
secondary
#C4715F
accent
#5D3FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #228EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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