#228BD3#228BD3

#228BD3 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.5% C 0.142 H 244.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#228BD3
RGBrgb(34, 139, 211)
HSLhsl(204, 72%, 48%)
HSVhsv(204, 84%, 83%)
CMYKcmyk(83.9%, 34.1%, 0%, 17.3%)
CIE-LABlab(55.59, -3.24, -44.98)
CIE-LCHlch(55.59, 45.10, 265.88°)
OKLaboklab(61.47% -0.0603 -0.128)
OKLCHoklch(61.47% 0.142 244.8)
XYZxyz(21.6456, 23.5057, 65.0116)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BD3 #D36A22
analogous
#22D3C2 #228BD3 #2232D3
triadic
#228BD3 #D3228B #8BD322
tetradic
#228BD3 #C222D3 #D36A22 #32D322
square
#228BD3 #C222D3 #D36A22 #32D322
split-complementary
#228BD3 #D32232 #D3C222
monochromatic
#11466A #1A689E #228BD3 #4FA7E3 #84C1EB

Accessibility & contrast

On white

3.68
#228BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#228BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BD3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BD3#FFFFFF#000000##000000
##228BD31.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED6
Deuteranopia (green-blind)
#507ED2
Tritanopia (blue-blind)
#009DA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #228bd3;
/* rgb */ color: rgb(34, 139, 211);
/* oklch */ color: oklch(61.5% 0.142 244.8);
Tailwind
colors: {
  custom: {
    50: '#7cace1',
    500: '#228bd3',
    950: '#000000',
  },
}
SCSS
$custom: #228bd3;
$custom-light: #7cace1;
$custom-dark: #000000;
JSON
{
  "hex": "#228bd3",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 211
  },
  "hsl": {
    "h": 204.407,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.14153,
    "h": 244.8
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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