#2E2B93#2E2B93

#2E2B93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.164 H 275.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E2B93
RGBrgb(46, 43, 147)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(68.7%, 70.7%, 0%, 42.4%)
CIE-LABlab(25.00, 35.39, -56.60)
CIE-LCHlch(25.00, 66.75, 302.02°)
OKLaboklab(36.83% 0.017 -0.1635)
OKLCHoklch(36.83% 0.164 275.9)
XYZxyz(7.2553, 4.4145, 28.0678)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B93 #90932B
analogous
#2B5C93 #2E2B93 #622B93
triadic
#2E2B93 #932E2B #2B932E
tetradic
#2E2B93 #932B5C #90932B #2B9362
square
#2E2B93 #932B5C #90932B #2B9362
split-complementary
#2E2B93 #93622B #5C932B
monochromatic
#100F34 #1F1D64 #2E2B93 #3D39C2 #6966D2

Accessibility & contrast

On white

11.15
#2E2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B93
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B93#FFFFFF#000000##FFFFFF
##2E2B931.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2b93;
/* rgb */ color: rgb(46, 43, 147);
/* oklch */ color: oklch(36.8% 0.164 275.9);
Tailwind
colors: {
  custom: {
    50: '#7565b4',
    500: '#2e2b93',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b93;
$custom-light: #7565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b93",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 241.731,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36832,
    "c": 0.16435,
    "h": 275.9
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#2E2B93
secondary
#B6B961
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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