#2011B3#2011B3

#2011B3 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.7% C 0.227 H 270.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2011B3
RGBrgb(32, 17, 179)
HSLhsl(246, 83%, 38%)
HSVhsv(246, 91%, 70%)
CMYKcmyk(82.1%, 90.5%, 0%, 29.8%)
CIE-LABlab(23.54, 56.86, -78.48)
CIE-LCHlch(23.54, 96.91, 305.92°)
OKLaboklab(36.66% 0.0009 -0.2269)
OKLCHoklch(36.66% 0.227 270.2)
XYZxyz(8.9300, 3.9616, 42.9331)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2011B3 #A4B311
analogous
#1153B3 #2011B3 #7111B3
triadic
#2011B3 #B32011 #11B320
tetradic
#2011B3 #B31153 #A4B311 #11B371
square
#2011B3 #B31153 #A4B311 #11B371
split-complementary
#2011B3 #B37111 #53B311
monochromatic
#0C0643 #160C7B #2011B3 #2B18E9 #5F50EE

Accessibility & contrast

On white

11.71
#2011B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2011B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2011B3
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2011B3#FFFFFF#000000##FFFFFF
##2011B31.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040B7
Deuteranopia (green-blind)
#0030B0
Tritanopia (blue-blind)
#004B69
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2011b3;
/* rgb */ color: rgb(32, 17, 179);
/* oklch */ color: oklch(36.7% 0.227 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a59cb',
    500: '#2011b3',
    950: '#000000',
  },
}
SCSS
$custom: #2011b3;
$custom-light: #7a59cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2011b3",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 179
  },
  "hsl": {
    "h": 245.556,
    "s": 82.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36657,
    "c": 0.22688,
    "h": 270.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#2011B3
secondary
#C4D050
accent
#F92FE6
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2011B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2011B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva