#2D209F#2D209F

#2D209F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.191 H 275.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2D209F
RGBrgb(45, 32, 159)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 80%, 62%)
CMYKcmyk(71.7%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.98, 45.47, -65.65)
CIE-LCHlch(23.98, 79.86, 304.71°)
OKLaboklab(36.47% 0.0194 -0.1898)
OKLCHoklch(36.47% 0.191 275.8)
XYZxyz(7.8547, 4.0934, 33.1703)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D209F #929F20
analogous
#20529F #2D209F #6D209F
triadic
#2D209F #9F2D20 #209F2D
tetradic
#2D209F #9F2052 #929F20 #209F6D
square
#2D209F #9F2052 #929F20 #209F6D
split-complementary
#2D209F #9F6D20 #529F20
monochromatic
#100B39 #1F166C #2D209F #3B2AD2 #695BDE

Accessibility & contrast

On white

11.55
#2D209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D209F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D209F#FFFFFF#000000##FFFFFF
##2D209F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d209f;
/* rgb */ color: rgb(45, 32, 159);
/* oklch */ color: oklch(36.5% 0.191 275.8);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2d209f',
    950: '#000000',
  },
}
SCSS
$custom: #2d209f;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d209f",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 246.142,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36468,
    "c": 0.19077,
    "h": 275.8
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#2D209F
secondary
#B7C259
accent
#E93ED8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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