#2D208D#2D208D

#2D208D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.169 H 278.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2D208D
RGBrgb(45, 32, 141)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 55%)
CMYKcmyk(68.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.99, 39.70, -57.83)
CIE-LCHlch(21.99, 70.15, 304.47°)
OKLaboklab(34.49% 0.024 -0.167)
OKLCHoklch(34.49% 0.169 278.2)
XYZxyz(6.4049, 3.5135, 25.5348)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D208D #808D20
analogous
#204A8D #2D208D #64208D
triadic
#2D208D #8D2D20 #208D2D
tetradic
#2D208D #8D204A #808D20 #208D64
square
#2D208D #8D204A #808D20 #208D64
split-complementary
#2D208D #8D6420 #4A8D20
monochromatic
#0D0929 #1D155B #2D208D #3D2BBF #6050D7

Accessibility & contrast

On white

12.33
#2D208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D208D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D208D#FFFFFF#000000##FFFFFF
##2D208D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d208d;
/* rgb */ color: rgb(45, 32, 141);
/* oklch */ color: oklch(34.5% 0.169 278.2);
Tailwind
colors: {
  custom: {
    50: '#745eaf',
    500: '#2d208d',
    950: '#000000',
  },
}
SCSS
$custom: #2d208d;
$custom-light: #745eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d208d",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 247.156,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3449,
    "c": 0.16875,
    "h": 278.2
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#2D208D
secondary
#AEBA4E
accent
#E642D2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #2D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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