#228FBC#228FBC

#228FBC is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.114 H 231.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#228FBC
RGBrgb(34, 143, 188)
HSLhsl(198, 69%, 44%)
HSVhsv(198, 82%, 74%)
CMYKcmyk(81.9%, 23.9%, 0%, 26.3%)
CIE-LABlab(55.70, -13.87, -31.80)
CIE-LCHlch(55.70, 34.69, 246.43°)
OKLaboklab(61.2% -0.0712 -0.0896)
OKLCHoklch(61.2% 0.114 231.5)
XYZxyz(19.5555, 23.6134, 51.0944)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228FBC #BC4F22
analogous
#22BC9C #228FBC #2242BC
triadic
#228FBC #BC228F #8FBC22
tetradic
#228FBC #9C22BC #BC4F22 #42BC22
square
#228FBC #9C22BC #BC4F22 #42BC22
split-complementary
#228FBC #BC2242 #BC9C22
monochromatic
#0F4054 #196888 #228FBC #3FAEDC #73C4E6

Accessibility & contrast

On white

3.67
#228FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#228FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228FBC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228FBC#FFFFFF#000000##000000
##228FBC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBE
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#009B9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #228fbc;
/* rgb */ color: rgb(34, 143, 188);
/* oklch */ color: oklch(61.2% 0.114 231.5);
Tailwind
colors: {
  custom: {
    50: '#78afd0',
    500: '#228fbc',
    950: '#000000',
  },
}
SCSS
$custom: #228fbc;
$custom-light: #78afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#228fbc",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 197.532,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.11447,
    "h": 231.5
  },
  "luminance": 0.23616
}

Semantic roles & 50–950 ramp

primary
#228FBC
secondary
#CD896D
accent
#6F3CEC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #228FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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