#2E20A9#2E20A9

#2E20A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.202 H 275.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2E20A9
RGBrgb(46, 32, 169)
HSLhsl(246, 68%, 39%)
HSVhsv(246, 81%, 66%)
CMYKcmyk(72.8%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.19, 48.67, -69.70)
CIE-LCHlch(25.19, 85.01, 304.92°)
OKLaboklab(37.67% 0.0181 -0.2015)
OKLCHoklch(37.67% 0.202 275.1)
XYZxyz(8.8023, 4.4776, 37.9288)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20A9 #9BA920
analogous
#2057A9 #2E20A9 #7220A9
triadic
#2E20A9 #A92E20 #20A92E
tetradic
#2E20A9 #A92057 #9BA920 #20A972
square
#2E20A9 #A92057 #9BA920 #20A972
split-complementary
#2E20A9 #A97220 #57A920
monochromatic
#120D42 #201676 #2E20A9 #402FD8 #6F62E1

Accessibility & contrast

On white

11.08
#2E20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20A9
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20A9#FFFFFF#000000##FFFFFF
##2E20A91.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.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: #2e20a9;
/* rgb */ color: rgb(46, 32, 169);
/* oklch */ color: oklch(37.7% 0.202 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b60c4',
    500: '#2e20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e20a9;
$custom-light: #7b60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20a9",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 246.131,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.20235,
    "h": 275.1
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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