#228DB2#228DB2

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

Color values

HEX#228DB2
RGBrgb(34, 141, 178)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(80.9%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.66, -16.29, -27.71)
CIE-LCHlch(54.66, 32.14, 239.56°)
OKLaboklab(60.22% -0.073 -0.0779)
OKLCHoklch(60.22% 0.107 226.9)
XYZxyz(18.2171, 22.6019, 45.5133)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DB2 #B24722
analogous
#22B28F #228DB2 #2245B2
triadic
#228DB2 #B2228D #8DB222
tetradic
#228DB2 #8F22B2 #B24722 #45B222
square
#228DB2 #8F22B2 #B24722 #45B222
split-complementary
#228DB2 #B22245 #B28F22
monochromatic
#0E3C4B #18647F #228DB2 #38B0D9 #6CC4E3

Accessibility & contrast

On white

3.80
#228DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#228DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DB2#FFFFFF#000000##000000
##228DB21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228db2;
/* rgb */ color: rgb(34, 141, 178);
/* oklch */ color: oklch(60.2% 0.107 226.9);
Tailwind
colors: {
  custom: {
    50: '#76aec9',
    500: '#228db2',
    950: '#000000',
  },
}
SCSS
$custom: #228db2;
$custom-light: #76aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#228db2",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 195.417,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.10672,
    "h": 226.9
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#228DB2
secondary
#C98067
accent
#6A3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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