#218EB2#218EB2

#218EB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.107 H 225.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#218EB2
RGBrgb(33, 142, 178)
HSLhsl(195, 69%, 41%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(81.5%, 20.2%, 0%, 30.2%)
CIE-LABlab(54.95, -16.93, -27.26)
CIE-LCHlch(54.95, 32.09, 238.16°)
OKLaboklab(60.45% -0.0743 -0.0766)
OKLCHoklch(60.45% 0.107 225.9)
XYZxyz(18.3327, 22.8814, 45.5612)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218EB2 #B24521
analogous
#21B28E #218EB2 #2145B2
triadic
#218EB2 #B2218E #8EB221
tetradic
#218EB2 #8E21B2 #B24521 #45B221
square
#218EB2 #8E21B2 #B24521 #45B221
split-complementary
#218EB2 #B22145 #B28E21
monochromatic
#0E3C4B #17657E #218EB2 #36B1DA #6AC5E3

Accessibility & contrast

On white

3.77
#218EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#218EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218EB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218EB2#FFFFFF#000000##000000
##218EB21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #218eb2;
/* rgb */ color: rgb(33, 142, 178);
/* oklch */ color: oklch(60.5% 0.107 225.9);
Tailwind
colors: {
  custom: {
    50: '#76afc9',
    500: '#218eb2',
    950: '#000000',
  },
}
SCSS
$custom: #218eb2;
$custom-light: #76afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#218eb2",
  "rgb": {
    "r": 33,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 194.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.10669,
    "h": 225.9
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#218EB2
secondary
#C97E66
accent
#683CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #218EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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