#228AD3#228AD3

#228AD3 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.2% C 0.142 H 245.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#228AD3
RGBrgb(34, 138, 211)
HSLhsl(205, 72%, 48%)
HSVhsv(205, 84%, 83%)
CMYKcmyk(83.9%, 34.6%, 0%, 17.3%)
CIE-LABlab(55.30, -2.65, -45.45)
CIE-LCHlch(55.30, 45.52, 266.66°)
OKLaboklab(61.23% -0.0594 -0.1294)
OKLCHoklch(61.23% 0.142 245.3)
XYZxyz(21.5014, 23.2175, 64.9636)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AD3 #D36B22
analogous
#22D3C3 #228AD3 #2231D3
triadic
#228AD3 #D3228A #8AD322
tetradic
#228AD3 #C322D3 #D36B22 #31D322
square
#228AD3 #C322D3 #D36B22 #31D322
split-complementary
#228AD3 #D32231 #D3C322
monochromatic
#11456A #1A689E #228AD3 #4FA6E3 #84C1EB

Accessibility & contrast

On white

3.72
#228AD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#228AD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AD3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AD3#FFFFFF#000000##000000
##228AD31.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD6
Deuteranopia (green-blind)
#4E7DD2
Tritanopia (blue-blind)
#009CA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228ad3;
/* rgb */ color: rgb(34, 138, 211);
/* oklch */ color: oklch(61.2% 0.142 245.3);
Tailwind
colors: {
  custom: {
    50: '#7cabe1',
    500: '#228ad3',
    950: '#000000',
  },
}
SCSS
$custom: #228ad3;
$custom-light: #7cabe1;
$custom-dark: #000000;
JSON
{
  "hex": "#228ad3",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 211
  },
  "hsl": {
    "h": 204.746,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.14242,
    "h": 245.3
  },
  "luminance": 0.2322
}

Semantic roles & 50–950 ramp

primary
#228AD3
secondary
#D4A17D
accent
#8439EF
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #228AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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