#2E2B94#2E2B94

#2E2B94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.166 H 275.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2E2B94
RGBrgb(46, 43, 148)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(68.9%, 70.9%, 0%, 42%)
CIE-LABlab(25.09, 35.73, -57.06)
CIE-LCHlch(25.09, 67.32, 302.06°)
OKLaboklab(36.93% 0.0169 -0.1648)
OKLCHoklch(36.93% 0.166 275.8)
XYZxyz(7.3341, 4.4461, 28.4829)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B94 #91942B
analogous
#2B5D94 #2E2B94 #622B94
triadic
#2E2B94 #942E2B #2B942E
tetradic
#2E2B94 #942B5D #91942B #2B9462
square
#2E2B94 #942B5D #91942B #2B9462
split-complementary
#2E2B94 #94622B #5D942B
monochromatic
#110F35 #1F1D65 #2E2B94 #3D39C3 #6A67D3

Accessibility & contrast

On white

11.11
#2E2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B94
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B94#FFFFFF#000000##FFFFFF
##2E2B941.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2b94;
/* rgb */ color: rgb(46, 43, 148);
/* oklch */ color: oklch(36.9% 0.166 275.8);
Tailwind
colors: {
  custom: {
    50: '#7565b4',
    500: '#2e2b94',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b94;
$custom-light: #7565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b94",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 241.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.16567,
    "h": 275.8
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#2E2B94
secondary
#B7B962
accent
#DE49DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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