#2E20A8#2E20A8

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

Color values

HEX#2E20A8
RGBrgb(46, 32, 168)
HSLhsl(246, 68%, 39%)
HSVhsv(246, 81%, 66%)
CMYKcmyk(72.6%, 81%, 0%, 34.1%)
CIE-LABlab(25.08, 48.36, -69.29)
CIE-LCHlch(25.08, 84.50, 304.91°)
OKLaboklab(37.55% 0.0184 -0.2003)
OKLCHoklch(37.55% 0.201 275.2)
XYZxyz(8.7088, 4.4402, 37.4363)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20A8 #9AA820
analogous
#2056A8 #2E20A8 #7220A8
triadic
#2E20A8 #A82E20 #20A82E
tetradic
#2E20A8 #A82056 #9AA820 #20A872
square
#2E20A8 #A82056 #9AA820 #20A872
split-complementary
#2E20A8 #A87220 #56A820
monochromatic
#120C41 #201675 #2E20A8 #3F2ED7 #6F61E1

Accessibility & contrast

On white

11.12
#2E20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20A8
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20A8#FFFFFF#000000##FFFFFF
##2E20A81.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.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: #2e20a8;
/* rgb */ color: rgb(46, 32, 168);
/* oklch */ color: oklch(37.6% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b60c3',
    500: '#2e20a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e20a8;
$custom-light: #7b60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20a8",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 246.176,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37551,
    "c": 0.20118,
    "h": 275.2
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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