#218CB2#218CB2

#218CB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.107 H 227.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#218CB2
RGBrgb(33, 140, 178)
HSLhsl(196, 69%, 41%)
HSVhsv(196, 81%, 70%)
CMYKcmyk(81.5%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.34, -15.84, -28.22)
CIE-LCHlch(54.34, 32.36, 240.70°)
OKLaboklab(59.96% -0.0724 -0.0793)
OKLCHoklch(59.96% 0.107 227.6)
XYZxyz(18.0378, 22.2916, 45.4629)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218CB2 #B24721
analogous
#21B290 #218CB2 #2144B2
triadic
#218CB2 #B2218C #8CB221
tetradic
#218CB2 #9021B2 #B24721 #44B221
square
#218CB2 #9021B2 #B24721 #44B221
split-complementary
#218CB2 #B22144 #B29021
monochromatic
#0E3B4B #17637E #218CB2 #36AFDA #6AC4E3

Accessibility & contrast

On white

3.85
#218CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#218CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218CB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218CB2#FFFFFF#000000##000000
##218CB21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B4
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #218cb2;
/* rgb */ color: rgb(33, 140, 178);
/* oklch */ color: oklch(60.0% 0.107 227.6);
Tailwind
colors: {
  custom: {
    50: '#75adc9',
    500: '#218cb2',
    950: '#000000',
  },
}
SCSS
$custom: #218cb2;
$custom-light: #75adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#218cb2",
  "rgb": {
    "r": 33,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 195.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.1074,
    "h": 227.6
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#218CB2
secondary
#C98066
accent
#6A3CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #218CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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