#2041AE#2041AE

#2041AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.178 H 265.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2041AE
RGBrgb(32, 65, 174)
HSLhsl(226, 69%, 40%)
HSVhsv(226, 82%, 68%)
CMYKcmyk(81.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.13, 29.56, -61.30)
CIE-LCHlch(32.13, 68.06, 295.74°)
OKLaboklab(42.61% -0.0128 -0.1774)
OKLCHoklch(42.61% 0.178 265.9)
XYZxyz(10.1233, 7.1425, 40.8813)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041AE #AE8D20
analogous
#2088AE #2041AE #4620AE
triadic
#2041AE #AE2041 #41AE20
tetradic
#2041AE #AE2088 #AE8D20 #20AE46
square
#2041AE #AE2088 #AE8D20 #20AE46
split-complementary
#2041AE #AE4620 #88AE20
monochromatic
#0D1A47 #162E7A #2041AE #3259D9 #6683E3

Accessibility & contrast

On white

8.65
#2041AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2041AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041AE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041AE#FFFFFF#000000##FFFFFF
##2041AE1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2041ae;
/* rgb */ color: rgb(32, 65, 174);
/* oklch */ color: oklch(42.6% 0.178 265.9);
Tailwind
colors: {
  custom: {
    50: '#7575c7',
    500: '#2041ae',
    950: '#000000',
  },
}
SCSS
$custom: #2041ae;
$custom-light: #7575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2041ae",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 226.056,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.17786,
    "h": 265.9
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#2041AE
secondary
#C8B062
accent
#C33CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2041AE

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

Preview Lab → · Contrast checker → · Palette generator →

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