#2041B1#2041B1

#2041B1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.182 H 265.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2041B1
RGBrgb(32, 65, 177)
HSLhsl(226, 69%, 41%)
HSVhsv(226, 82%, 69%)
CMYKcmyk(81.9%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.39, 30.70, -62.66)
CIE-LCHlch(32.39, 69.78, 296.11°)
OKLaboklab(42.89% -0.0128 -0.1814)
OKLCHoklch(42.89% 0.182 265.9)
XYZxyz(10.4190, 7.2607, 42.4388)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041B1 #B19020
analogous
#2089B1 #2041B1 #4720B1
triadic
#2041B1 #B12041 #41B120
tetradic
#2041B1 #B12089 #B19020 #20B147
square
#2041B1 #B12089 #B19020 #20B147
split-complementary
#2041B1 #B14720 #89B120
monochromatic
#0D1B49 #172E7D #2041B1 #345ADA #6884E4

Accessibility & contrast

On white

8.56
#2041B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2041B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041B1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041B1#FFFFFF#000000##FFFFFF
##2041B11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2041b1;
/* rgb */ color: rgb(32, 65, 177);
/* oklch */ color: oklch(42.9% 0.182 265.9);
Tailwind
colors: {
  custom: {
    50: '#7675c9',
    500: '#2041b1',
    950: '#000000',
  },
}
SCSS
$custom: #2041b1;
$custom-light: #7675c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2041b1",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 226.345,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.18182,
    "h": 265.9
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#2041B1
secondary
#C9B264
accent
#C43CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2041B1

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

Preview Lab → · Contrast checker → · Palette generator →

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