#2041A6#2041A6

#2041A6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.167 H 265.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2041A6
RGBrgb(32, 65, 166)
HSLhsl(225, 68%, 39%)
HSVhsv(225, 81%, 65%)
CMYKcmyk(80.7%, 60.8%, 0%, 34.9%)
CIE-LABlab(31.44, 26.47, -57.64)
CIE-LCHlch(31.44, 63.43, 294.67°)
OKLaboklab(41.89% -0.0129 -0.1667)
OKLCHoklch(41.89% 0.167 265.6)
XYZxyz(9.3665, 6.8397, 36.8955)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A6 #A68520
analogous
#2084A6 #2041A6 #4220A6
triadic
#2041A6 #A62041 #41A620
tetradic
#2041A6 #A62084 #A68520 #20A642
square
#2041A6 #A62084 #A68520 #20A642
split-complementary
#2041A6 #A64220 #84A620
monochromatic
#0C193F #162D73 #2041A6 #2D57D6 #6080E0

Accessibility & contrast

On white

8.87
#2041A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2041A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A6#FFFFFF#000000##FFFFFF
##2041A61.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2041a6;
/* rgb */ color: rgb(32, 65, 166);
/* oklch */ color: oklch(41.9% 0.167 265.6);
Tailwind
colors: {
  custom: {
    50: '#7375c1',
    500: '#2041a6',
    950: '#000000',
  },
}
SCSS
$custom: #2041a6;
$custom-light: #7375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a6",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 225.224,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.16717,
    "h": 265.6
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#2041A6
secondary
#C5AB5D
accent
#C03DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2041A6

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

Preview Lab → · Contrast checker → · Palette generator →

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