#2041A7#2041A7

#2041A7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.169 H 265.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2041A7
RGBrgb(32, 65, 167)
HSLhsl(225, 68%, 39%)
HSVhsv(225, 81%, 65%)
CMYKcmyk(80.8%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.52, 26.86, -58.10)
CIE-LCHlch(31.52, 64.01, 294.81°)
OKLaboklab(41.98% -0.0129 -0.168)
OKLCHoklch(41.98% 0.169 265.6)
XYZxyz(9.4586, 6.8766, 37.3805)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A7 #A78620
analogous
#2085A7 #2041A7 #4320A7
triadic
#2041A7 #A72041 #41A720
tetradic
#2041A7 #A72085 #A78620 #20A743
square
#2041A7 #A72085 #A78620 #20A743
split-complementary
#2041A7 #A74320 #85A720
monochromatic
#0C1940 #162D74 #2041A7 #2D57D7 #6180E1

Accessibility & contrast

On white

8.84
#2041A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2041A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A7#FFFFFF#000000##FFFFFF
##2041A71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2041a7;
/* rgb */ color: rgb(32, 65, 167);
/* oklch */ color: oklch(42.0% 0.169 265.6);
Tailwind
colors: {
  custom: {
    50: '#7375c2',
    500: '#2041a7',
    950: '#000000',
  },
}
SCSS
$custom: #2041a7;
$custom-light: #7375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a7",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 225.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.16852,
    "h": 265.6
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2041A7

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

Preview Lab → · Contrast checker → · Palette generator →

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