#2041B3#2041B3

#2041B3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.184 H 266.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2041B3
RGBrgb(32, 65, 179)
HSLhsl(227, 70%, 41%)
HSVhsv(227, 82%, 70%)
CMYKcmyk(82.1%, 63.7%, 0%, 29.8%)
CIE-LABlab(32.57, 31.46, -63.55)
CIE-LCHlch(32.57, 70.92, 296.34°)
OKLaboklab(43.08% -0.0129 -0.184)
OKLCHoklch(43.08% 0.184 266)
XYZxyz(10.6198, 7.3411, 43.4963)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2041B3 #B39220
analogous
#208BB3 #2041B3 #4920B3
triadic
#2041B3 #B32041 #41B320
tetradic
#2041B3 #B3208B #B39220 #20B349
square
#2041B3 #B3208B #B39220 #20B349
split-complementary
#2041B3 #B34920 #8BB320
monochromatic
#0D1B4B #172E7F #2041B3 #355ADB #6985E4

Accessibility & contrast

On white

8.51
#2041B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2041B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2041B3
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2041B3#FFFFFF#000000##FFFFFF
##2041B31.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2041b3;
/* rgb */ color: rgb(32, 65, 179);
/* oklch */ color: oklch(43.1% 0.184 266.0);
Tailwind
colors: {
  custom: {
    50: '#7675cb',
    500: '#2041b3',
    950: '#000000',
  },
}
SCSS
$custom: #2041b3;
$custom-light: #7675cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2041b3",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 226.531,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.18444,
    "h": 266
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#2041B3
secondary
#CAB365
accent
#C53BEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2041B3

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

Preview Lab → · Contrast checker → · Palette generator →

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