#2E20AA#2E20AA

#2E20AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.204 H 275.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2E20AA
RGBrgb(46, 32, 170)
HSLhsl(246, 68%, 40%)
HSVhsv(246, 81%, 67%)
CMYKcmyk(72.9%, 81.2%, 0%, 33.3%)
CIE-LABlab(25.31, 48.97, -70.12)
CIE-LCHlch(25.31, 85.53, 304.93°)
OKLaboklab(37.78% 0.0179 -0.2027)
OKLCHoklch(37.78% 0.204 275)
XYZxyz(8.8965, 4.5153, 38.4251)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20AA #9CAA20
analogous
#2057AA #2E20AA #7320AA
triadic
#2E20AA #AA2E20 #20AA2E
tetradic
#2E20AA #AA2057 #9CAA20 #20AA73
square
#2E20AA #AA2057 #9CAA20 #20AA73
split-complementary
#2E20AA #AA7320 #57AA20
monochromatic
#120D43 #201676 #2E20AA #402FD8 #7063E2

Accessibility & contrast

On white

11.03
#2E20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E20AA
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20AA#FFFFFF#000000##FFFFFF
##2E20AA1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e20aa;
/* rgb */ color: rgb(46, 32, 170);
/* oklch */ color: oklch(37.8% 0.204 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b60c5',
    500: '#2e20aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e20aa;
$custom-light: #7b60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20aa",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 246.087,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.20353,
    "h": 275
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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