#2E20BD#2E20BD

#2E20BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.0% C 0.225 H 273.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2E20BD
RGBrgb(46, 32, 189)
HSLhsl(245, 71%, 43%)
HSVhsv(245, 83%, 74%)
CMYKcmyk(75.7%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.54, 54.71, -77.77)
CIE-LCHlch(27.54, 95.08, 305.13°)
OKLaboklab(39.97% 0.0128 -0.2249)
OKLCHoklch(39.97% 0.225 273.3)
XYZxyz(10.8255, 5.2868, 48.5842)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20BD #AFBD20
analogous
#2061BD #2E20BD #7C20BD
triadic
#2E20BD #BD2E20 #20BD2E
tetradic
#2E20BD #BD2061 #AFBD20 #20BD7C
square
#2E20BD #BD2061 #AFBD20 #20BD7C
split-complementary
#2E20BD #BD7C20 #61BD20
monochromatic
#150E54 #211789 #2E20BD #4B3CDE #7B71E7

Accessibility & contrast

On white

10.21
#2E20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20BD
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20BD#FFFFFF#000000##FFFFFF
##2E20BD1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e20bd;
/* rgb */ color: rgb(46, 32, 189);
/* oklch */ color: oklch(40.0% 0.225 273.3);
Tailwind
colors: {
  custom: {
    50: '#8061d2',
    500: '#2e20bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e20bd;
$custom-light: #8061d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20bd",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 245.35,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.22528,
    "h": 273.3
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#2E20BD
secondary
#C5CD6B
accent
#EE3ADE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2E20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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