#228CBC#228CBC

#228CBC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.116 H 233.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#228CBC
RGBrgb(34, 140, 188)
HSLhsl(199, 69%, 44%)
HSVhsv(199, 82%, 74%)
CMYKcmyk(81.9%, 25.5%, 0%, 26.3%)
CIE-LABlab(54.79, -12.20, -33.22)
CIE-LCHlch(54.79, 35.39, 249.84°)
OKLaboklab(60.47% -0.0684 -0.0938)
OKLCHoklch(60.47% 0.116 233.9)
XYZxyz(19.1112, 22.7247, 50.9463)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CBC #BC5222
analogous
#22BC9F #228CBC #223FBC
triadic
#228CBC #BC228C #8CBC22
tetradic
#228CBC #9F22BC #BC5222 #3FBC22
square
#228CBC #9F22BC #BC5222 #3FBC22
split-complementary
#228CBC #BC223F #BC9F22
monochromatic
#0F3F54 #196588 #228CBC #3FABDC #73C2E6

Accessibility & contrast

On white

3.79
#228CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#228CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CBC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CBC#FFFFFF#000000##000000
##228CBC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBE
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228cbc;
/* rgb */ color: rgb(34, 140, 188);
/* oklch */ color: oklch(60.5% 0.116 233.9);
Tailwind
colors: {
  custom: {
    50: '#77add0',
    500: '#228cbc',
    950: '#000000',
  },
}
SCSS
$custom: #228cbc;
$custom-light: #77add0;
$custom-dark: #000000;
JSON
{
  "hex": "#228cbc",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 188
  },
  "hsl": {
    "h": 198.701,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.11609,
    "h": 233.9
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#228CBC
secondary
#CD8B6D
accent
#733CEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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