#2E2BA6#2E2BA6

#2E2BA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.189 H 274.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA6
RGBrgb(46, 43, 166)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 65%)
CMYKcmyk(72.3%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.91, 41.86, -65.05)
CIE-LCHlch(26.91, 77.36, 302.76°)
OKLaboklab(38.77% 0.0138 -0.1882)
OKLCHoklch(38.77% 0.189 274.2)
XYZxyz(8.8712, 5.0609, 36.5783)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA6 #A3A62B
analogous
#2B65A6 #2E2BA6 #6B2BA6
triadic
#2E2BA6 #A62E2B #2BA62E
tetradic
#2E2BA6 #A62B65 #A3A62B #2BA66B
square
#2E2BA6 #A62B65 #A3A62B #2BA66B
split-complementary
#2E2BA6 #A66B2B #65A62B
monochromatic
#131245 #211E75 #2E2BA6 #4441CE #7471DA

Accessibility & contrast

On white

10.44
#2E2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA6
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA6#FFFFFF#000000##FFFFFF
##2E2BA61.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ba6;
/* rgb */ color: rgb(46, 43, 166);
/* oklch */ color: oklch(38.8% 0.189 274.2);
Tailwind
colors: {
  custom: {
    50: '#7966c2',
    500: '#2e2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba6;
$custom-light: #7966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba6",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 241.463,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.18865,
    "h": 274.2
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#2E2BA6
secondary
#BFC16B
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2E2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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