#2041A5#2041A5

#2041A5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.166 H 265.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2041A5
RGBrgb(32, 65, 165)
HSLhsl(225, 68%, 39%)
HSVhsv(225, 81%, 65%)
CMYKcmyk(80.6%, 60.6%, 0%, 35.3%)
CIE-LABlab(31.35, 26.08, -57.18)
CIE-LCHlch(31.35, 62.85, 294.52°)
OKLaboklab(41.8% -0.0129 -0.1653)
OKLCHoklch(41.8% 0.166 265.5)
XYZxyz(9.2751, 6.8032, 36.4143)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A5 #A58420
analogous
#2083A5 #2041A5 #4120A5
triadic
#2041A5 #A52041 #41A520
tetradic
#2041A5 #A52083 #A58420 #20A541
square
#2041A5 #A52083 #A58420 #20A541
split-complementary
#2041A5 #A54120 #83A520
monochromatic
#0C193E #162D72 #2041A5 #2C56D6 #5F7FE0

Accessibility & contrast

On white

8.90
#2041A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2041A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A5#FFFFFF#000000##FFFFFF
##2041A51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2041a5;
/* rgb */ color: rgb(32, 65, 165);
/* oklch */ color: oklch(41.8% 0.166 265.5);
Tailwind
colors: {
  custom: {
    50: '#7275c1',
    500: '#2041a5',
    950: '#000000',
  },
}
SCSS
$custom: #2041a5;
$custom-light: #7275c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a5",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 225.113,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.16582,
    "h": 265.5
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#2041A5
secondary
#C5AB5C
accent
#BF3DEA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2041A5

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

Preview Lab → · Contrast checker → · Palette generator →

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