#228DBC#228DBC

#228DBC is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.7% C 0.116 H 233.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#228DBC
RGBrgb(34, 141, 188)
HSLhsl(198, 69%, 44%)
HSVhsv(198, 82%, 74%)
CMYKcmyk(81.9%, 25%, 0%, 26.3%)
CIE-LABlab(55.09, -12.76, -32.75)
CIE-LCHlch(55.09, 35.14, 248.72°)
OKLaboklab(60.71% -0.0693 -0.0924)
OKLCHoklch(60.71% 0.116 233.1)
XYZxyz(19.2580, 23.0183, 50.9952)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DBC #BC5122
analogous
#22BC9E #228DBC #2240BC
triadic
#228DBC #BC228D #8DBC22
tetradic
#228DBC #9E22BC #BC5122 #40BC22
square
#228DBC #9E22BC #BC5122 #40BC22
split-complementary
#228DBC #BC2240 #BC9E22
monochromatic
#0F3F54 #196688 #228DBC #3FACDC #73C3E6

Accessibility & contrast

On white

3.75
#228DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#228DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DBC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DBC#FFFFFF#000000##000000
##228DBC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#617EBB
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228dbc;
/* rgb */ color: rgb(34, 141, 188);
/* oklch */ color: oklch(60.7% 0.116 233.1);
Tailwind
colors: {
  custom: {
    50: '#78aed0',
    500: '#228dbc',
    950: '#000000',
  },
}
SCSS
$custom: #228dbc;
$custom-light: #78aed0;
$custom-dark: #000000;
JSON
{
  "hex": "#228dbc",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 188
  },
  "hsl": {
    "h": 198.312,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.11552,
    "h": 233.1
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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