#2D209A#2D209A

#2D209A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.185 H 276.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2D209A
RGBrgb(45, 32, 154)
HSLhsl(246, 66%, 36%)
HSVhsv(246, 79%, 60%)
CMYKcmyk(70.8%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.42, 43.89, -63.52)
CIE-LCHlch(23.42, 77.20, 304.64°)
OKLaboklab(35.91% 0.0207 -0.1836)
OKLCHoklch(35.91% 0.185 276.4)
XYZxyz(7.4295, 3.9233, 30.9313)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D209A #8D9A20
analogous
#20509A #2D209A #6A209A
triadic
#2D209A #9A2D20 #209A2D
tetradic
#2D209A #9A2050 #8D9A20 #209A6A
square
#2D209A #9A2050 #8D9A20 #209A6A
split-complementary
#2D209A #9A6A20 #509A20
monochromatic
#0F0B35 #1E1567 #2D209A #3C2BCD #6658DC

Accessibility & contrast

On white

11.77
#2D209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D209A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D209A#FFFFFF#000000##FFFFFF
##2D209A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d209a;
/* rgb */ color: rgb(45, 32, 154);
/* oklch */ color: oklch(35.9% 0.185 276.4);
Tailwind
colors: {
  custom: {
    50: '#775fb9',
    500: '#2d209a',
    950: '#000000',
  },
}
SCSS
$custom: #2d209a;
$custom-light: #775fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d209a",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 246.393,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3591,
    "c": 0.18475,
    "h": 276.4
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D209A

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

Preview Lab → · Contrast checker → · Palette generator →

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