#2041A9#2041A9

#2041A9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.171 H 265.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2041A9
RGBrgb(32, 65, 169)
HSLhsl(226, 68%, 39%)
HSVhsv(226, 81%, 66%)
CMYKcmyk(81.1%, 61.5%, 0%, 33.7%)
CIE-LABlab(31.70, 27.63, -59.02)
CIE-LCHlch(31.70, 65.17, 295.09°)
OKLaboklab(42.16% -0.0128 -0.1707)
OKLCHoklch(42.16% 0.171 265.7)
XYZxyz(9.6449, 6.9511, 38.3618)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A9 #A98820
analogous
#2086A9 #2041A9 #4320A9
triadic
#2041A9 #A92041 #41A920
tetradic
#2041A9 #A92086 #A98820 #20A943
square
#2041A9 #A92086 #A98820 #20A943
split-complementary
#2041A9 #A94320 #86A920
monochromatic
#0D1942 #162D76 #2041A9 #2F57D8 #6281E1

Accessibility & contrast

On white

8.79
#2041A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2041A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A9
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A9#FFFFFF#000000##FFFFFF
##2041A91.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2041a9;
/* rgb */ color: rgb(32, 65, 169);
/* oklch */ color: oklch(42.2% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#7475c3',
    500: '#2041a9',
    950: '#000000',
  },
}
SCSS
$custom: #2041a9;
$custom-light: #7475c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a9",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 225.547,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.1712,
    "h": 265.7
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#2041A9
secondary
#C6AD5F
accent
#C13DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2041A9

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

Preview Lab → · Contrast checker → · Palette generator →

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