#2118A0#2118A0

#2118A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.9% C 0.201 H 271.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2118A0
RGBrgb(33, 24, 160)
HSLhsl(244, 74%, 36%)
HSVhsv(244, 85%, 63%)
CMYKcmyk(79.4%, 85%, 0%, 37.3%)
CIE-LABlab(21.99, 48.74, -69.57)
CIE-LCHlch(21.99, 84.94, 305.01°)
OKLaboklab(34.92% 0.006 -0.2013)
OKLCHoklch(34.92% 0.201 271.7)
XYZxyz(7.2969, 3.5139, 33.5446)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2118A0 #97A018
analogous
#1853A0 #2118A0 #6518A0
triadic
#2118A0 #A02118 #18A021
tetradic
#2118A0 #A01853 #97A018 #18A065
square
#2118A0 #A01853 #97A018 #18A065
split-complementary
#2118A0 #A06518 #53A018
monochromatic
#0B0836 #16106B #2118A0 #2C20D5 #584EE4

Accessibility & contrast

On white

12.33
#2118A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2118A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2118A0
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2118A0#FFFFFF#000000##FFFFFF
##2118A01.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2118a0;
/* rgb */ color: rgb(33, 24, 160);
/* oklch */ color: oklch(34.9% 0.201 271.7);
Tailwind
colors: {
  custom: {
    50: '#755abe',
    500: '#2118a0',
    950: '#000000',
  },
}
SCSS
$custom: #2118a0;
$custom-light: #755abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2118a0",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 243.971,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34916,
    "c": 0.20136,
    "h": 271.7
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#2118A0
secondary
#BEC64D
accent
#F137E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2118A0

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

Preview Lab → · Contrast checker → · Palette generator →

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