#2E2BA5#2E2BA5

#2E2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.187 H 274.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA5
RGBrgb(46, 43, 165)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 65%)
CMYKcmyk(72.1%, 73.9%, 0%, 35.3%)
CIE-LABlab(26.80, 41.52, -64.62)
CIE-LCHlch(26.80, 76.81, 302.72°)
OKLaboklab(38.67% 0.014 -0.1869)
OKLCHoklch(38.67% 0.187 274.3)
XYZxyz(8.7799, 5.0244, 36.0971)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA5 #A2A52B
analogous
#2B65A5 #2E2BA5 #6B2BA5
triadic
#2E2BA5 #A52E2B #2BA52E
tetradic
#2E2BA5 #A52B65 #A2A52B #2BA56B
square
#2E2BA5 #A52B65 #A2A52B #2BA56B
split-complementary
#2E2BA5 #A56B2B #65A52B
monochromatic
#131244 #201E74 #2E2BA5 #4340CD #7371DA

Accessibility & contrast

On white

10.47
#2E2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2BA5
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA5#FFFFFF#000000##FFFFFF
##2E2BA51.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ba5;
/* rgb */ color: rgb(46, 43, 165);
/* oklch */ color: oklch(38.7% 0.187 274.3);
Tailwind
colors: {
  custom: {
    50: '#7966c1',
    500: '#2e2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba5;
$custom-light: #7966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba5",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 241.475,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.1874,
    "h": 274.3
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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