#2117A0#2117A0

#2117A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.202 H 271.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2117A0
RGBrgb(33, 23, 160)
HSLhsl(244, 75%, 36%)
HSVhsv(244, 86%, 63%)
CMYKcmyk(79.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.85, 49.17, -69.81)
CIE-LCHlch(21.85, 85.39, 305.16°)
OKLaboklab(34.82% 0.0063 -0.2019)
OKLCHoklch(34.82% 0.202 271.8)
XYZxyz(7.2766, 3.4734, 33.5378)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2117A0 #96A017
analogous
#1751A0 #2117A0 #6517A0
triadic
#2117A0 #A02117 #17A021
tetradic
#2117A0 #A01751 #96A017 #17A065
square
#2117A0 #A01751 #96A017 #17A065
split-complementary
#2117A0 #A06517 #51A017
monochromatic
#0B0835 #160F6A #2117A0 #2C1FD6 #574CE5

Accessibility & contrast

On white

12.39
#2117A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2117A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2117A0
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2117A0#FFFFFF#000000##FFFFFF
##2117A01.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2117a0;
/* rgb */ color: rgb(33, 23, 160);
/* oklch */ color: oklch(34.8% 0.202 271.8);
Tailwind
colors: {
  custom: {
    50: '#755abe',
    500: '#2117a0',
    950: '#000000',
  },
}
SCSS
$custom: #2117a0;
$custom-light: #755abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2117a0",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 244.38,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.20205,
    "h": 271.8
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#2117A0
secondary
#BEC74C
accent
#F136E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2117A0

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

Preview Lab → · Contrast checker → · Palette generator →

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