#2E2B7E#2E2B7E

#2E2B7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.136 H 278.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2B7E
RGBrgb(46, 43, 126)
HSLhsl(242, 49%, 33%)
HSVhsv(242, 66%, 49%)
CMYKcmyk(63.5%, 65.9%, 0%, 50.6%)
CIE-LABlab(23.05, 28.03, -46.68)
CIE-LCHlch(23.05, 54.45, 300.98°)
OKLaboklab(34.82% 0.0195 -0.1344)
OKLCHoklch(34.82% 0.136 278.3)
XYZxyz(5.7553, 3.8145, 20.1676)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B7E #7B7E2B
analogous
#2B517E #2E2B7E #572B7E
triadic
#2E2B7E #7E2E2B #2B7E2E
tetradic
#2E2B7E #7E2B51 #7B7E2B #2B7E57
square
#2E2B7E #7E2B51 #7B7E2B #2B7E57
split-complementary
#2E2B7E #7E572B #517E2B
monochromatic
#0D0C23 #1D1B50 #2E2B7E #3F3BAC #605CC7

Accessibility & contrast

On white

11.91
#2E2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B7E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B7E#FFFFFF#000000##FFFFFF
##2E2B7E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2b7e;
/* rgb */ color: rgb(46, 43, 126);
/* oklch */ color: oklch(34.8% 0.136 278.3);
Tailwind
colors: {
  custom: {
    50: '#7064a4',
    500: '#2e2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b7e;
$custom-light: #7064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b7e",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 242.169,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.13582,
    "h": 278.3
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#2E2B7E
secondary
#AAAD58
accent
#D94FD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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