#2E20A0#2E20A0

#2E20A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.192 H 276.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2E20A0
RGBrgb(46, 32, 160)
HSLhsl(247, 67%, 38%)
HSVhsv(247, 80%, 63%)
CMYKcmyk(71.2%, 80%, 0%, 37.3%)
CIE-LABlab(24.17, 45.87, -65.94)
CIE-LCHlch(24.17, 80.33, 304.82°)
OKLaboklab(36.65% 0.0205 -0.1906)
OKLCHoklch(36.65% 0.192 276.1)
XYZxyz(7.9863, 4.1512, 33.6313)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20A0 #92A020
analogous
#2052A0 #2E20A0 #6E20A0
triadic
#2E20A0 #A02E20 #20A02E
tetradic
#2E20A0 #A02052 #92A020 #20A06E
square
#2E20A0 #A02052 #92A020 #20A06E
split-complementary
#2E20A0 #A06E20 #52A020
monochromatic
#110C3A #1F166D #2E20A0 #3D2AD3 #6A5CDE

Accessibility & contrast

On white

11.47
#2E20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20A0
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20A0#FFFFFF#000000##FFFFFF
##2E20A01.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e20a0;
/* rgb */ color: rgb(46, 32, 160);
/* oklch */ color: oklch(36.7% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#795fbd',
    500: '#2e20a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e20a0;
$custom-light: #795fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20a0",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 246.563,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.19172,
    "h": 276.1
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#2E20A0
secondary
#B7C359
accent
#EA3ED7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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