#2E2BA3#2E2BA3

#2E2BA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.185 H 274.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA3
RGBrgb(46, 43, 163)
HSLhsl(242, 58%, 40%)
HSVhsv(242, 74%, 64%)
CMYKcmyk(71.8%, 73.6%, 0%, 36.1%)
CIE-LABlab(26.60, 40.85, -63.75)
CIE-LCHlch(26.60, 75.72, 302.65°)
OKLaboklab(38.46% 0.0143 -0.1843)
OKLCHoklch(38.46% 0.185 274.4)
XYZxyz(8.5993, 4.9521, 35.1459)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA3 #A0A32B
analogous
#2B64A3 #2E2BA3 #6A2BA3
triadic
#2E2BA3 #A32E2B #2BA32E
tetradic
#2E2BA3 #A32B64 #A0A32B #2BA36A
square
#2E2BA3 #A32B64 #A0A32B #2BA36A
split-complementary
#2E2BA3 #A36A2B #64A32B
monochromatic
#131142 #201E73 #2E2BA3 #423FCC #726FD9

Accessibility & contrast

On white

10.55
#2E2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA3
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA3#FFFFFF#000000##FFFFFF
##2E2BA31.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ba3;
/* rgb */ color: rgb(46, 43, 163);
/* oklch */ color: oklch(38.5% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#7966bf',
    500: '#2e2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba3;
$custom-light: #7966bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba3",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 241.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.1849,
    "h": 274.4
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#2E2BA3
secondary
#BEC06A
accent
#E146DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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