#2117B1#2117B1

#2117B1 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.9% C 0.221 H 270.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2117B1
RGBrgb(33, 23, 177)
HSLhsl(244, 77%, 39%)
HSVhsv(244, 87%, 69%)
CMYKcmyk(81.4%, 87%, 0%, 30.6%)
CIE-LABlab(24.03, 54.22, -76.47)
CIE-LCHlch(24.03, 93.74, 305.34°)
OKLaboklab(36.93% 0.0019 -0.2212)
OKLCHoklch(36.93% 0.221 270.5)
XYZxyz(8.8667, 4.1094, 41.9123)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2117B1 #A7B117
analogous
#175AB1 #2117B1 #6E17B1
triadic
#2117B1 #B12117 #17B121
tetradic
#2117B1 #B1175A #A7B117 #17B16E
square
#2117B1 #B1175A #A7B117 #17B16E
split-complementary
#2117B1 #B16E17 #5AB117
monochromatic
#0D0945 #17107B #2117B1 #2F23E2 #6259E9

Accessibility & contrast

On white

11.53
#2117B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2117B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2117B1
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2117B1#FFFFFF#000000##FFFFFF
##2117B11.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B5
Deuteranopia (green-blind)
#0031AF
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2117b1;
/* rgb */ color: rgb(33, 23, 177);
/* oklch */ color: oklch(36.9% 0.221 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a5bca',
    500: '#2117b1',
    950: '#000000',
  },
}
SCSS
$custom: #2117b1;
$custom-light: #7a5bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2117b1",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 177
  },
  "hsl": {
    "h": 243.896,
    "s": 77,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.2212,
    "h": 270.5
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#2117B1
secondary
#C5CD57
accent
#F434E7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2117B1

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

Preview Lab → · Contrast checker → · Palette generator →

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