#2218C9#2218C9

#2218C9 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.1% C 0.246 H 269.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2218C9
RGBrgb(34, 24, 201)
HSLhsl(243, 79%, 44%)
HSVhsv(243, 88%, 79%)
CMYKcmyk(83.1%, 88.1%, 0%, 21.2%)
CIE-LABlab(27.32, 60.75, -85.21)
CIE-LCHlch(27.32, 104.65, 305.49°)
OKLaboklab(40.06% -0.0028 -0.2464)
OKLCHoklch(40.06% 0.246 269.3)
XYZxyz(11.5254, 5.2090, 55.6450)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2218C9 #BFC918
analogous
#1867C9 #2218C9 #7B18C9
triadic
#2218C9 #C92218 #18C922
tetradic
#2218C9 #C91867 #BFC918 #18C97B
square
#2218C9 #C91867 #BFC918 #18C97B
split-complementary
#2218C9 #C97B18 #67C918
monochromatic
#100B5C #191192 #2218C9 #4137E7 #756EEE

Accessibility & contrast

On white

10.28
#2218C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2218C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2218C9
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2218C9#FFFFFF#000000##FFFFFF
##2218C91.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0037C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2218c9;
/* rgb */ color: rgb(34, 24, 201);
/* oklch */ color: oklch(40.1% 0.246 269.3);
Tailwind
colors: {
  custom: {
    50: '#805edb',
    500: '#2218c9',
    950: '#000000',
  },
}
SCSS
$custom: #2218c9;
$custom-light: #805edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2218c9",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 201
  },
  "hsl": {
    "h": 243.39,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.24646,
    "h": 269.3
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#2218C9
secondary
#CED469
accent
#F533EA
background
#F8F5FD
surface
#F0EAFB
border
#CBC6D4
text
#0D0515
muted
#7D7983

Preview Lab

Preview with #2218C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2218C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva