#2E20BB#2E20BB

#2E20BB is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.7% C 0.223 H 273.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E20BB
RGBrgb(46, 32, 187)
HSLhsl(245, 71%, 43%)
HSVhsv(245, 83%, 73%)
CMYKcmyk(75.4%, 82.9%, 0%, 26.7%)
CIE-LABlab(27.30, 54.11, -76.98)
CIE-LCHlch(27.30, 94.09, 305.11°)
OKLaboklab(39.73% 0.0133 -0.2226)
OKLCHoklch(39.73% 0.223 273.4)
XYZxyz(10.6099, 5.2006, 47.4487)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20BB #ADBB20
analogous
#2060BB #2E20BB #7B20BB
triadic
#2E20BB #BB2E20 #20BB2E
tetradic
#2E20BB #BB2060 #ADBB20 #20BB7B
square
#2E20BB #BB2060 #ADBB20 #20BB7B
split-complementary
#2E20BB #BB7B20 #60BB20
monochromatic
#140E52 #211787 #2E20BB #493BDD #7A6FE6

Accessibility & contrast

On white

10.29
#2E20BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E20BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20BB
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20BB#FFFFFF#000000##FFFFFF
##2E20BB1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e20bb;
/* rgb */ color: rgb(46, 32, 187);
/* oklch */ color: oklch(39.7% 0.223 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f61d1',
    500: '#2e20bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e20bb;
$custom-light: #7f61d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20bb",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 245.419,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.22303,
    "h": 273.4
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#2E20BB
secondary
#C4CD6A
accent
#EE3ADD
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2E20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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