#2118C9#2118C9

#2118C9 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.0% C 0.247 H 269.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2118C9
RGBrgb(33, 24, 201)
HSLhsl(243, 79%, 44%)
HSVhsv(243, 88%, 79%)
CMYKcmyk(83.6%, 88.1%, 0%, 21.2%)
CIE-LABlab(27.28, 60.72, -85.29)
CIE-LCHlch(27.28, 104.69, 305.45°)
OKLaboklab(40.02% -0.0038 -0.2467)
OKLCHoklch(40.02% 0.247 269.1)
XYZxyz(11.4929, 5.1923, 55.6435)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2118C9 #C0C918
analogous
#1868C9 #2118C9 #7A18C9
triadic
#2118C9 #C92118 #18C921
tetradic
#2118C9 #C91868 #C0C918 #18C97A
square
#2118C9 #C91868 #C0C918 #18C97A
split-complementary
#2118C9 #C97A18 #68C918
monochromatic
#0F0B5C #181192 #2118C9 #4037E7 #746EEE

Accessibility & contrast

On white

10.30
#2118C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2118C9
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2118C9#FFFFFF#000000##FFFFFF
##2118C91.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2118c9;
/* rgb */ color: rgb(33, 24, 201);
/* oklch */ color: oklch(40.0% 0.247 269.1);
Tailwind
colors: {
  custom: {
    50: '#805edb',
    500: '#2118c9',
    950: '#000000',
  },
}
SCSS
$custom: #2118c9;
$custom-light: #805edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2118c9",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 201
  },
  "hsl": {
    "h": 243.051,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.24671,
    "h": 269.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2118C9

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

Preview Lab → · Contrast checker → · Palette generator →

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