#2E2092#2E2092

#2E2092 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.175 H 278.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2092
RGBrgb(46, 32, 146)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 57%)
CMYKcmyk(68.5%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.61, 41.43, -59.91)
CIE-LCHlch(22.61, 72.84, 304.67°)
OKLaboklab(35.11% 0.0242 -0.1731)
OKLCHoklch(35.11% 0.175 278)
XYZxyz(6.8299, 3.6886, 27.5406)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2092 #849220
analogous
#204B92 #2E2092 #672092
triadic
#2E2092 #922E20 #20922E
tetradic
#2E2092 #92204B #849220 #209267
square
#2E2092 #92204B #849220 #209267
split-complementary
#2E2092 #926720 #4B9220
monochromatic
#0E0A2E #1E1560 #2E2092 #3E2BC4 #6453D9

Accessibility & contrast

On white

12.08
#2E2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2092
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2092#FFFFFF#000000##FFFFFF
##2E20921.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2092;
/* rgb */ color: rgb(46, 32, 146);
/* oklch */ color: oklch(35.1% 0.175 278.0);
Tailwind
colors: {
  custom: {
    50: '#765eb3',
    500: '#2e2092',
    950: '#000000',
  },
}
SCSS
$custom: #2e2092;
$custom-light: #765eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2092",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 247.368,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.17474,
    "h": 278
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#2E2092
secondary
#B0BD51
accent
#E741D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E2092

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

Preview Lab → · Contrast checker → · Palette generator →

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