#2E20AC#2E20AC

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

Color values

HEX#2E20AC
RGBrgb(46, 32, 172)
HSLhsl(246, 69%, 40%)
HSVhsv(246, 81%, 67%)
CMYKcmyk(73.3%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.54, 49.59, -70.94)
CIE-LCHlch(25.54, 86.55, 304.95°)
OKLaboklab(38.01% 0.0173 -0.2051)
OKLCHoklch(38.01% 0.206 274.8)
XYZxyz(9.0872, 4.5915, 39.4291)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20AC #9EAC20
analogous
#2058AC #2E20AC #7420AC
triadic
#2E20AC #AC2E20 #20AC2E
tetradic
#2E20AC #AC2058 #9EAC20 #20AC74
square
#2E20AC #AC2058 #9EAC20 #20AC74
split-complementary
#2E20AC #AC7420 #58AC20
monochromatic
#120D45 #201678 #2E20AC #4131D9 #7164E2

Accessibility & contrast

On white

10.95
#2E20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E20AC
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20AC#FFFFFF#000000##FFFFFF
##2E20AC1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e20ac;
/* rgb */ color: rgb(46, 32, 172);
/* oklch */ color: oklch(38.0% 0.206 274.8);
Tailwind
colors: {
  custom: {
    50: '#7c60c6',
    500: '#2e20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e20ac;
$custom-light: #7c60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20ac",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 246,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.38006,
    "c": 0.20585,
    "h": 274.8
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#2E20AC
secondary
#BDC760
accent
#EB3CDA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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