#2041A0#2041A0

#2041A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.159 H 265.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2041A0
RGBrgb(32, 65, 160)
HSLhsl(225, 67%, 38%)
HSVhsv(225, 80%, 63%)
CMYKcmyk(80%, 59.4%, 0%, 37.3%)
CIE-LABlab(30.94, 24.13, -54.85)
CIE-LCHlch(30.94, 59.92, 293.75°)
OKLaboklab(41.36% -0.0131 -0.1585)
OKLCHoklch(41.36% 0.159 265.3)
XYZxyz(8.8289, 6.6247, 34.0643)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A0 #A07F20
analogous
#2081A0 #2041A0 #3F20A0
triadic
#2041A0 #A02041 #41A020
tetradic
#2041A0 #A02081 #A07F20 #20A03F
square
#2041A0 #A02081 #A07F20 #20A03F
split-complementary
#2041A0 #A03F20 #81A020
monochromatic
#0C183A #162C6D #2041A0 #2A56D3 #5C7EDE

Accessibility & contrast

On white

9.03
#2041A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2041A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A0#FFFFFF#000000##FFFFFF
##2041A01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2041a0;
/* rgb */ color: rgb(32, 65, 160);
/* oklch */ color: oklch(41.4% 0.159 265.3);
Tailwind
colors: {
  custom: {
    50: '#7175bd',
    500: '#2041a0',
    950: '#000000',
  },
}
SCSS
$custom: #2041a0;
$custom-light: #7175bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a0",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 224.531,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.15901,
    "h": 265.3
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#2041A0
secondary
#C3A759
accent
#BD3EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2041A0

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

Preview Lab → · Contrast checker → · Palette generator →

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