#2D208E#2D208E

#2D208E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.170 H 278.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2D208E
RGBrgb(45, 32, 142)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 56%)
CMYKcmyk(68.3%, 77.5%, 0%, 44.3%)
CIE-LABlab(22.10, 40.03, -58.28)
CIE-LCHlch(22.10, 70.70, 304.48°)
OKLaboklab(34.6% 0.0238 -0.1683)
OKLCHoklch(34.6% 0.17 278)
XYZxyz(6.4796, 3.5434, 25.9284)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D208E #818E20
analogous
#204A8E #2D208E #64208E
triadic
#2D208E #8E2D20 #208E2D
tetradic
#2D208E #8E204A #818E20 #208E64
square
#2D208E #8E204A #818E20 #208E64
split-complementary
#2D208E #8E6420 #4A8E20
monochromatic
#0D092A #1D155C #2D208E #3D2BC0 #6151D8

Accessibility & contrast

On white

12.29
#2D208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D208E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D208E#FFFFFF#000000##FFFFFF
##2D208E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d208e;
/* rgb */ color: rgb(45, 32, 142);
/* oklch */ color: oklch(34.6% 0.170 278.0);
Tailwind
colors: {
  custom: {
    50: '#755eb0',
    500: '#2d208e',
    950: '#000000',
  },
}
SCSS
$custom: #2d208e;
$custom-light: #755eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d208e",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 247.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34597,
    "c": 0.17,
    "h": 278
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#2D208E
secondary
#AEBB4F
accent
#E642D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2D208E

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

Preview Lab → · Contrast checker → · Palette generator →

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