#2D208A#2D208A

#2D208A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.165 H 278.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2D208A
RGBrgb(45, 32, 138)
HSLhsl(247, 62%, 33%)
HSVhsv(247, 77%, 54%)
CMYKcmyk(67.4%, 76.8%, 0%, 45.9%)
CIE-LABlab(21.67, 38.73, -56.49)
CIE-LCHlch(21.67, 68.49, 304.43°)
OKLaboklab(34.17% 0.0247 -0.1631)
OKLCHoklch(34.17% 0.165 278.6)
XYZxyz(6.1847, 3.4254, 24.3751)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D208A #7D8A20
analogous
#20488A #2D208A #62208A
triadic
#2D208A #8A2D20 #208A2D
tetradic
#2D208A #8A2048 #7D8A20 #208A62
square
#2D208A #8A2048 #7D8A20 #208A62
split-complementary
#2D208A #8A6220 #488A20
monochromatic
#0D0927 #1D1458 #2D208A #3D2CBC #5F4ED6

Accessibility & contrast

On white

12.46
#2D208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D208A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D208A#FFFFFF#000000##FFFFFF
##2D208A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d208a;
/* rgb */ color: rgb(45, 32, 138);
/* oklch */ color: oklch(34.2% 0.165 278.6);
Tailwind
colors: {
  custom: {
    50: '#745ead',
    500: '#2d208a',
    950: '#000000',
  },
}
SCSS
$custom: #2d208a;
$custom-light: #745ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2d208a",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 247.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.16498,
    "h": 278.6
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#2D208A
secondary
#ACB94D
accent
#E542D1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D208A

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

Preview Lab → · Contrast checker → · Palette generator →

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