#2D20A9#2D20A9

#2D20A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.203 H 274.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D20A9
RGBrgb(45, 32, 169)
HSLhsl(246, 68%, 39%)
HSVhsv(246, 81%, 66%)
CMYKcmyk(73.4%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.12, 48.59, -69.82)
CIE-LCHlch(25.12, 85.07, 304.83°)
OKLaboklab(37.6% 0.0168 -0.2019)
OKLCHoklch(37.6% 0.203 274.8)
XYZxyz(8.7578, 4.4546, 37.9267)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D20A9 #9CA920
analogous
#2058A9 #2D20A9 #7120A9
triadic
#2D20A9 #A92D20 #20A92D
tetradic
#2D20A9 #A92058 #9CA920 #20A971
square
#2D20A9 #A92058 #9CA920 #20A971
split-complementary
#2D20A9 #A97120 #58A920
monochromatic
#120D42 #1F1676 #2D20A9 #3F2FD8 #6E62E1

Accessibility & contrast

On white

11.11
#2D20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D20A9
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D20A9#FFFFFF#000000##FFFFFF
##2D20A91.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d20a9;
/* rgb */ color: rgb(45, 32, 169);
/* oklch */ color: oklch(37.6% 0.203 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b60c4',
    500: '#2d20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d20a9;
$custom-light: #7b60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d20a9",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 245.693,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37597,
    "c": 0.20261,
    "h": 274.8
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2D20A9
secondary
#BCC65F
accent
#EB3DDA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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