#2D209B#2D209B

#2D209B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.186 H 276.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2D209B
RGBrgb(45, 32, 155)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 79%, 61%)
CMYKcmyk(71%, 79.4%, 0%, 39.2%)
CIE-LABlab(23.53, 44.20, -63.94)
CIE-LCHlch(23.53, 77.74, 304.66°)
OKLaboklab(36.02% 0.0205 -0.1848)
OKLCHoklch(36.02% 0.186 276.3)
XYZxyz(7.5132, 3.9568, 31.3718)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D209B #8E9B20
analogous
#20519B #2D209B #6A209B
triadic
#2D209B #9B2D20 #209B2D
tetradic
#2D209B #9B2051 #8E9B20 #209B6A
square
#2D209B #9B2051 #8E9B20 #209B6A
split-complementary
#2D209B #9B6A20 #519B20
monochromatic
#100B36 #1E1668 #2D209B #3C2ACE #6759DD

Accessibility & contrast

On white

11.72
#2D209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D209B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D209B#FFFFFF#000000##FFFFFF
##2D209B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d209b;
/* rgb */ color: rgb(45, 32, 155);
/* oklch */ color: oklch(36.0% 0.186 276.3);
Tailwind
colors: {
  custom: {
    50: '#775fba',
    500: '#2d209b',
    950: '#000000',
  },
}
SCSS
$custom: #2d209b;
$custom-light: #775fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d209b",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 246.341,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36021,
    "c": 0.18597,
    "h": 276.3
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2D209B
secondary
#B5C156
accent
#E93FD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D209B

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

Preview Lab → · Contrast checker → · Palette generator →

#2D209B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva