#2041A2#2041A2

#2041A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.162 H 265.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2041A2
RGBrgb(32, 65, 162)
HSLhsl(225, 67%, 38%)
HSVhsv(225, 80%, 64%)
CMYKcmyk(80.2%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.10, 24.91, -55.78)
CIE-LCHlch(31.10, 61.09, 294.06°)
OKLaboklab(41.53% -0.013 -0.1612)
OKLCHoklch(41.53% 0.162 265.4)
XYZxyz(9.0052, 6.6953, 34.9931)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041A2 #A28120
analogous
#2082A2 #2041A2 #4020A2
triadic
#2041A2 #A22041 #41A220
tetradic
#2041A2 #A22082 #A28120 #20A240
square
#2041A2 #A22082 #A28120 #20A240
split-complementary
#2041A2 #A24020 #82A220
monochromatic
#0C183C #162C6F #2041A2 #2A56D5 #5D7EDF

Accessibility & contrast

On white

8.98
#2041A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2041A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041A2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041A2#FFFFFF#000000##FFFFFF
##2041A21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2041a2;
/* rgb */ color: rgb(32, 65, 162);
/* oklch */ color: oklch(41.5% 0.162 265.4);
Tailwind
colors: {
  custom: {
    50: '#7275be',
    500: '#2041a2',
    950: '#000000',
  },
}
SCSS
$custom: #2041a2;
$custom-light: #7275be;
$custom-dark: #000000;
JSON
{
  "hex": "#2041a2",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 224.769,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.16174,
    "h": 265.4
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#2041A2
secondary
#C3A95A
accent
#BE3EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2041A2

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

Preview Lab → · Contrast checker → · Palette generator →

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