#228EBC#228EBC

#228EBC is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.115 H 232.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#228EBC
RGBrgb(34, 142, 188)
HSLhsl(198, 69%, 44%)
HSVhsv(198, 82%, 74%)
CMYKcmyk(81.9%, 24.5%, 0%, 26.3%)
CIE-LABlab(55.39, -13.31, -32.27)
CIE-LCHlch(55.39, 34.91, 247.58°)
OKLaboklab(60.95% -0.0703 -0.091)
OKLCHoklch(60.95% 0.115 232.3)
XYZxyz(19.4061, 23.3145, 51.0446)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EBC #BC5022
analogous
#22BC9D #228EBC #2241BC
triadic
#228EBC #BC228E #8EBC22
tetradic
#228EBC #9D22BC #BC5022 #41BC22
square
#228EBC #9D22BC #BC5022 #41BC22
split-complementary
#228EBC #BC2241 #BC9D22
monochromatic
#0F4054 #196788 #228EBC #3FADDC #73C3E6

Accessibility & contrast

On white

3.71
#228EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#228EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EBC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EBC#FFFFFF#000000##000000
##228EBC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBE
Deuteranopia (green-blind)
#637EBB
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #228ebc;
/* rgb */ color: rgb(34, 142, 188);
/* oklch */ color: oklch(61.0% 0.115 232.3);
Tailwind
colors: {
  custom: {
    50: '#78afd0',
    500: '#228ebc',
    950: '#000000',
  },
}
SCSS
$custom: #228ebc;
$custom-light: #78afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#228ebc",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 197.922,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.11499,
    "h": 232.3
  },
  "luminance": 0.23317
}

Semantic roles & 50–950 ramp

primary
#228EBC
secondary
#CD8A6D
accent
#703CEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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