#218DB2#218DB2

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

Color values

HEX#218DB2
RGBrgb(33, 141, 178)
HSLhsl(195, 69%, 41%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(81.5%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.64, -16.38, -27.74)
CIE-LCHlch(54.64, 32.22, 239.43°)
OKLaboklab(60.21% -0.0733 -0.078)
OKLCHoklch(60.21% 0.107 226.8)
XYZxyz(18.1846, 22.5852, 45.5118)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218DB2 #B24621
analogous
#21B28F #218DB2 #2145B2
triadic
#218DB2 #B2218D #8DB221
tetradic
#218DB2 #8F21B2 #B24621 #45B221
square
#218DB2 #8F21B2 #B24621 #45B221
split-complementary
#218DB2 #B22145 #B28F21
monochromatic
#0E3B4B #17647E #218DB2 #36B0DA #6AC4E3

Accessibility & contrast

On white

3.81
#218DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##218DB2#FFFFFF#000000##000000
##218DB21.003.815.525.52
#FFFFFF3.811.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: #218db2;
/* rgb */ color: rgb(33, 141, 178);
/* oklch */ color: oklch(60.2% 0.107 226.8);
Tailwind
colors: {
  custom: {
    50: '#76aec9',
    500: '#218db2',
    950: '#000000',
  },
}
SCSS
$custom: #218db2;
$custom-light: #76aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#218db2",
  "rgb": {
    "r": 33,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 195.31,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.10703,
    "h": 226.8
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#218DB2
secondary
#C97F66
accent
#693CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #218DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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