#2E2893#2E2893

#2E2893 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.168 H 276.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2893
RGBrgb(46, 40, 147)
HSLhsl(243, 57%, 37%)
HSVhsv(243, 73%, 58%)
CMYKcmyk(68.7%, 72.8%, 0%, 42.4%)
CIE-LABlab(24.34, 37.21, -57.69)
CIE-LCHlch(24.34, 68.65, 302.82°)
OKLaboklab(36.36% 0.0191 -0.1666)
OKLCHoklch(36.36% 0.168 276.5)
XYZxyz(7.1502, 4.2044, 28.0328)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2893 #8D9328
analogous
#285893 #2E2893 #642893
triadic
#2E2893 #932E28 #28932E
tetradic
#2E2893 #932858 #8D9328 #289364
square
#2E2893 #932858 #8D9328 #289364
split-complementary
#2E2893 #936428 #589328
monochromatic
#100E33 #1F1B63 #2E2893 #3D35C3 #6861D4

Accessibility & contrast

On white

11.41
#2E2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2893
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2893#FFFFFF#000000##FFFFFF
##2E28931.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2893;
/* rgb */ color: rgb(46, 40, 147);
/* oklch */ color: oklch(36.4% 0.168 276.5);
Tailwind
colors: {
  custom: {
    50: '#7563b4',
    500: '#2e2893',
    950: '#000000',
  },
}
SCSS
$custom: #2e2893;
$custom-light: #7563b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2893",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 243.364,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.16773,
    "h": 276.5
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#2E2893
secondary
#B5BA5D
accent
#E047D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2893

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

Preview Lab → · Contrast checker → · Palette generator →

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