#2E20B9#2E20B9

#2E20B9 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.5% C 0.221 H 273.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2E20B9
RGBrgb(46, 32, 185)
HSLhsl(245, 71%, 43%)
HSVhsv(245, 83%, 73%)
CMYKcmyk(75.1%, 82.7%, 0%, 27.5%)
CIE-LABlab(27.06, 53.52, -76.18)
CIE-LCHlch(27.06, 93.10, 305.09°)
OKLaboklab(39.5% 0.0139 -0.2203)
OKLCHoklch(39.5% 0.221 273.6)
XYZxyz(10.3973, 5.1156, 46.3290)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20B9 #ABB920
analogous
#205FB9 #2E20B9 #7A20B9
triadic
#2E20B9 #B92E20 #20B92E
tetradic
#2E20B9 #B9205F #ABB920 #20B97A
square
#2E20B9 #B9205F #ABB920 #20B97A
split-complementary
#2E20B9 #B97A20 #5FB920
monochromatic
#140E51 #211785 #2E20B9 #4839DD #796EE6

Accessibility & contrast

On white

10.38
#2E20B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E20B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20B9
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20B9#FFFFFF#000000##FFFFFF
##2E20B91.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BD
Deuteranopia (green-blind)
#0039B6
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e20b9;
/* rgb */ color: rgb(46, 32, 185);
/* oklch */ color: oklch(39.5% 0.221 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f61d0',
    500: '#2e20b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e20b9;
$custom-light: #7f61d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20b9",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 185
  },
  "hsl": {
    "h": 245.49,
    "s": 70.507,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.22076,
    "h": 273.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#2E20B9
secondary
#C3CC69
accent
#ED3BDD
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2E20B9

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

Preview Lab → · Contrast checker → · Palette generator →

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