#2E2B99#2E2B99

#2E2B99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.172 H 275.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2B99
RGBrgb(46, 43, 153)
HSLhsl(242, 56%, 38%)
HSVhsv(242, 72%, 60%)
CMYKcmyk(69.9%, 71.9%, 0%, 40%)
CIE-LABlab(25.59, 37.45, -59.32)
CIE-LCHlch(25.59, 70.16, 302.27°)
OKLaboklab(37.43% 0.0161 -0.1714)
OKLCHoklch(37.43% 0.172 275.4)
XYZxyz(7.7385, 4.6078, 30.6124)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B99 #96992B
analogous
#2B5F99 #2E2B99 #652B99
triadic
#2E2B99 #992E2B #2B992E
tetradic
#2E2B99 #992B5F #96992B #2B9965
square
#2E2B99 #992B5F #96992B #2B9965
split-complementary
#2E2B99 #99652B #5F992B
monochromatic
#111039 #201E69 #2E2B99 #3E3AC8 #6C69D5

Accessibility & contrast

On white

10.93
#2E2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B99
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B99#FFFFFF#000000##FFFFFF
##2E2B991.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2b99;
/* rgb */ color: rgb(46, 43, 153);
/* oklch */ color: oklch(37.4% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#7665b8',
    500: '#2e2b99',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b99;
$custom-light: #7665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b99",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 241.636,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.17217,
    "h": 275.4
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#2E2B99
secondary
#B9BC64
accent
#DF48DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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