#2E2B9D#2E2B9D

#2E2B9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.177 H 275.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2E2B9D
RGBrgb(46, 43, 157)
HSLhsl(242, 57%, 39%)
HSVhsv(242, 73%, 62%)
CMYKcmyk(70.7%, 72.6%, 0%, 38.4%)
CIE-LABlab(25.99, 38.82, -61.11)
CIE-LCHlch(25.99, 72.39, 302.43°)
OKLaboklab(37.84% 0.0154 -0.1766)
OKLCHoklch(37.84% 0.177 275)
XYZxyz(8.0744, 4.7422, 32.3816)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B9D #9A9D2B
analogous
#2B619D #2E2B9D #672B9D
triadic
#2E2B9D #9D2E2B #2B9D2E
tetradic
#2E2B9D #9D2B61 #9A9D2B #2B9D67
square
#2E2B9D #9D2B61 #9A9D2B #2B9D67
split-complementary
#2E2B9D #9D672B #619D2B
monochromatic
#12113D #201E6D #2E2B9D #3F3CCA #6F6CD7

Accessibility & contrast

On white

10.78
#2E2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E2B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B9D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B9D#FFFFFF#000000##FFFFFF
##2E2B9D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2b9d;
/* rgb */ color: rgb(46, 43, 157);
/* oklch */ color: oklch(37.8% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#7766bb',
    500: '#2e2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b9d;
$custom-light: #7766bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b9d",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 241.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.17731,
    "h": 275
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#2E2B9D
secondary
#BBBD66
accent
#E048DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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