#228CD3#228CD3

#228CD3 is a mid, vivid cyan. Relative luminance 0.238; OKLCH L 61.7% C 0.141 H 244.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#228CD3
RGBrgb(34, 140, 211)
HSLhsl(204, 72%, 48%)
HSVhsv(204, 84%, 83%)
CMYKcmyk(83.9%, 33.6%, 0%, 17.3%)
CIE-LABlab(55.88, -3.82, -44.52)
CIE-LCHlch(55.88, 44.68, 265.09°)
OKLaboklab(61.7% -0.0611 -0.1267)
OKLCHoklch(61.7% 0.141 244.2)
XYZxyz(21.7910, 23.7966, 65.0601)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CD3 #D36922
analogous
#22D3C1 #228CD3 #2233D3
triadic
#228CD3 #D3228C #8CD322
tetradic
#228CD3 #C122D3 #D36922 #33D322
square
#228CD3 #C122D3 #D36922 #33D322
split-complementary
#228CD3 #D32233 #D3C122
monochromatic
#11466A #1A699E #228CD3 #4FA8E3 #84C2EB

Accessibility & contrast

On white

3.65
#228CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#228CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CD3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CD3#FFFFFF#000000##000000
##228CD31.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8FD6
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#009DA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #228cd3;
/* rgb */ color: rgb(34, 140, 211);
/* oklch */ color: oklch(61.7% 0.141 244.2);
Tailwind
colors: {
  custom: {
    50: '#7cade1',
    500: '#228cd3',
    950: '#000000',
  },
}
SCSS
$custom: #228cd3;
$custom-light: #7cade1;
$custom-dark: #000000;
JSON
{
  "hex": "#228cd3",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 204.068,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.14065,
    "h": 244.2
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#228CD3
secondary
#D4A07D
accent
#8239EF
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #228CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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