#2D20AC#2D20AC

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

Color values

HEX#2D20AC
RGBrgb(45, 32, 172)
HSLhsl(246, 69%, 40%)
HSVhsv(246, 81%, 67%)
CMYKcmyk(73.8%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.47, 49.51, -71.05)
CIE-LCHlch(25.47, 86.60, 304.87°)
OKLaboklab(37.94% 0.016 -0.2055)
OKLCHoklch(37.94% 0.206 274.4)
XYZxyz(9.0426, 4.5686, 39.4270)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D20AC #9FAC20
analogous
#2059AC #2D20AC #7320AC
triadic
#2D20AC #AC2D20 #20AC2D
tetradic
#2D20AC #AC2059 #9FAC20 #20AC73
square
#2D20AC #AC2059 #9FAC20 #20AC73
split-complementary
#2D20AC #AC7320 #59AC20
monochromatic
#120D45 #1F1678 #2D20AC #4031D9 #7064E2

Accessibility & contrast

On white

10.97
#2D20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D20AC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D20AC#FFFFFF#000000##FFFFFF
##2D20AC1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d20ac;
/* rgb */ color: rgb(45, 32, 172);
/* oklch */ color: oklch(37.9% 0.206 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b60c6',
    500: '#2d20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d20ac;
$custom-light: #7b60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d20ac",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 245.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.20611,
    "h": 274.4
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#2D20AC
secondary
#BEC760
accent
#EB3CDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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