#2E2091#2E2091

#2E2091 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.174 H 278.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2E2091
RGBrgb(46, 32, 145)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 57%)
CMYKcmyk(68.3%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.51, 41.11, -59.47)
CIE-LCHlch(22.51, 72.29, 304.66°)
OKLaboklab(35% 0.0244 -0.1718)
OKLCHoklch(35% 0.174 278.1)
XYZxyz(6.7524, 3.6576, 27.1327)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2091 #839120
analogous
#204A91 #2E2091 #672091
triadic
#2E2091 #912E20 #20912E
tetradic
#2E2091 #91204A #839120 #209167
square
#2E2091 #91204A #839120 #209167
split-complementary
#2E2091 #916720 #4A9120
monochromatic
#0E0A2D #1E155F #2E2091 #3E2BC3 #6352D9

Accessibility & contrast

On white

12.13
#2E2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2091
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2091#FFFFFF#000000##FFFFFF
##2E20911.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2091;
/* rgb */ color: rgb(46, 32, 145);
/* oklch */ color: oklch(35.0% 0.174 278.1);
Tailwind
colors: {
  custom: {
    50: '#765eb2',
    500: '#2e2091',
    950: '#000000',
  },
}
SCSS
$custom: #2e2091;
$custom-light: #765eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2091",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 247.434,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34999,
    "c": 0.17351,
    "h": 278.1
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#2E2091
secondary
#AFBC51
accent
#E741D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E2091

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

Preview Lab → · Contrast checker → · Palette generator →

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