#228DB1#228DB1

#228DB1 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.2% C 0.106 H 226.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#228DB1
RGBrgb(34, 141, 177)
HSLhsl(195, 68%, 41%)
HSVhsv(195, 81%, 69%)
CMYKcmyk(80.8%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.62, -16.64, -27.20)
CIE-LCHlch(54.62, 31.89, 238.55°)
OKLaboklab(60.18% -0.0733 -0.0764)
OKLCHoklch(60.18% 0.106 226.2)
XYZxyz(18.1171, 22.5619, 44.9865)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DB1 #B14622
analogous
#22B18E #228DB1 #2246B1
triadic
#228DB1 #B1228D #8DB122
tetradic
#228DB1 #8E22B1 #B14622 #46B122
square
#228DB1 #8E22B1 #B14622 #46B122
split-complementary
#228DB1 #B12246 #B18E22
monochromatic
#0E3B4A #18647E #228DB1 #38B0D9 #6BC4E3

Accessibility & contrast

On white

3.81
#228DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#228DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DB1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DB1#FFFFFF#000000##000000
##228DB11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228db1;
/* rgb */ color: rgb(34, 141, 177);
/* oklch */ color: oklch(60.2% 0.106 226.2);
Tailwind
colors: {
  custom: {
    50: '#76aec8',
    500: '#228db1',
    950: '#000000',
  },
}
SCSS
$custom: #228db1;
$custom-light: #76aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#228db1",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 195.105,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.10593,
    "h": 226.2
  },
  "luminance": 0.22564
}

Semantic roles & 50–950 ramp

primary
#228DB1
secondary
#C97F66
accent
#693DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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