#2E20B3#2E20B3

#2E20B3 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.214 H 274.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2E20B3
RGBrgb(46, 32, 179)
HSLhsl(246, 70%, 41%)
HSVhsv(246, 82%, 70%)
CMYKcmyk(74.3%, 82.1%, 0%, 29.8%)
CIE-LABlab(26.35, 51.72, -73.78)
CIE-LCHlch(26.35, 90.10, 305.03°)
OKLaboklab(38.81% 0.0155 -0.2134)
OKLCHoklch(38.81% 0.214 274.1)
XYZxyz(9.7772, 4.8675, 43.0633)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E20B3 #A5B320
analogous
#205CB3 #2E20B3 #7820B3
triadic
#2E20B3 #B32E20 #20B32E
tetradic
#2E20B3 #B3205C #A5B320 #20B378
square
#2E20B3 #B3205C #A5B320 #20B378
split-complementary
#2E20B3 #B37820 #5CB320
monochromatic
#130D4B #21177F #2E20B3 #4535DB #7569E4

Accessibility & contrast

On white

10.64
#2E20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E20B3
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E20B3#FFFFFF#000000##FFFFFF
##2E20B31.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e20b3;
/* rgb */ color: rgb(46, 32, 179);
/* oklch */ color: oklch(38.8% 0.214 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d60cb',
    500: '#2e20b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e20b3;
$custom-light: #7d60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e20b3",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 245.714,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.21393,
    "h": 274.1
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2E20B3
secondary
#C0CA65
accent
#EC3BDC
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2E20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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