#228ED3#228ED3

#228ED3 is a light, vivid cyan. Relative luminance 0.244; OKLCH L 62.2% C 0.139 H 243.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#228ED3
RGBrgb(34, 142, 211)
HSLhsl(203, 72%, 48%)
HSVhsv(203, 84%, 83%)
CMYKcmyk(83.9%, 32.7%, 0%, 17.3%)
CIE-LABlab(56.47, -4.99, -43.59)
CIE-LCHlch(56.47, 43.87, 263.47°)
OKLaboklab(62.16% -0.0628 -0.1239)
OKLCHoklch(62.16% 0.139 243.1)
XYZxyz(22.0859, 24.3864, 65.1584)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228ED3 #D36722
analogous
#22D3BF #228ED3 #2235D3
triadic
#228ED3 #D3228E #8ED322
tetradic
#228ED3 #BF22D3 #D36722 #35D322
square
#228ED3 #BF22D3 #D36722 #35D322
split-complementary
#228ED3 #D32235 #D3BF22
monochromatic
#11476A #1A6B9E #228ED3 #4FA9E3 #84C3EB

Accessibility & contrast

On white

3.57
#228ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#228ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228ED3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228ED3#FFFFFF#000000##000000
##228ED31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D6
Deuteranopia (green-blind)
#5580D2
Tritanopia (blue-blind)
#009FA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #228ed3;
/* rgb */ color: rgb(34, 142, 211);
/* oklch */ color: oklch(62.2% 0.139 243.1);
Tailwind
colors: {
  custom: {
    50: '#7caee1',
    500: '#228ed3',
    950: '#000000',
  },
}
SCSS
$custom: #228ed3;
$custom-light: #7caee1;
$custom-dark: #000000;
JSON
{
  "hex": "#228ed3",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 211
  },
  "hsl": {
    "h": 203.39,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.13894,
    "h": 243.1
  },
  "luminance": 0.24389
}

Semantic roles & 50–950 ramp

primary
#228ED3
secondary
#D49F7D
accent
#8039EF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #228ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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