#2D20A8#2D20A8

#2D20A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.201 H 274.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2D20A8
RGBrgb(45, 32, 168)
HSLhsl(246, 68%, 39%)
HSVhsv(246, 81%, 66%)
CMYKcmyk(73.2%, 81%, 0%, 34.1%)
CIE-LABlab(25.01, 48.28, -69.41)
CIE-LCHlch(25.01, 84.55, 304.82°)
OKLaboklab(37.48% 0.017 -0.2007)
OKLCHoklch(37.48% 0.201 274.9)
XYZxyz(8.6642, 4.4172, 37.4342)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D20A8 #9BA820
analogous
#2057A8 #2D20A8 #7120A8
triadic
#2D20A8 #A82D20 #20A82D
tetradic
#2D20A8 #A82057 #9BA820 #20A871
square
#2D20A8 #A82057 #9BA820 #20A871
split-complementary
#2D20A8 #A87120 #57A820
monochromatic
#110C41 #1F1675 #2D20A8 #3E2ED7 #6E61E1

Accessibility & contrast

On white

11.15
#2D20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D20A8
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D20A8#FFFFFF#000000##FFFFFF
##2D20A81.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d20a8;
/* rgb */ color: rgb(45, 32, 168);
/* oklch */ color: oklch(37.5% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b60c3',
    500: '#2d20a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d20a8;
$custom-light: #7b60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d20a8",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 245.735,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.20143,
    "h": 274.9
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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