#2D20AD#2D20AD

#2D20AD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.207 H 274.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2D20AD
RGBrgb(45, 32, 173)
HSLhsl(246, 69%, 40%)
HSVhsv(246, 82%, 68%)
CMYKcmyk(74%, 81.5%, 0%, 32.2%)
CIE-LABlab(25.58, 49.82, -71.46)
CIE-LCHlch(25.58, 87.12, 304.88°)
OKLaboklab(38.05% 0.0157 -0.2067)
OKLCHoklch(38.05% 0.207 274.4)
XYZxyz(9.1390, 4.6071, 39.9347)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D20AD #A0AD20
analogous
#2059AD #2D20AD #7320AD
triadic
#2D20AD #AD2D20 #20AD2D
tetradic
#2D20AD #AD2059 #A0AD20 #20AD73
square
#2D20AD #AD2059 #A0AD20 #20AD73
split-complementary
#2D20AD #AD7320 #59AD20
monochromatic
#120D46 #201679 #2D20AD #4131D9 #7065E2

Accessibility & contrast

On white

10.93
#2D20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D20AD
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D20AD#FFFFFF#000000##FFFFFF
##2D20AD1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d20ad;
/* rgb */ color: rgb(45, 32, 173);
/* oklch */ color: oklch(38.1% 0.207 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c60c7',
    500: '#2d20ad',
    950: '#000000',
  },
}
SCSS
$custom: #2d20ad;
$custom-light: #7c60c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d20ad",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 245.532,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.20727,
    "h": 274.4
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#2D20AD
secondary
#BEC861
accent
#EC3CDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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