#2E2BA2#2E2BA2

#2E2BA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.184 H 274.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA2
RGBrgb(46, 43, 162)
HSLhsl(242, 58%, 40%)
HSVhsv(242, 73%, 64%)
CMYKcmyk(71.6%, 73.5%, 0%, 36.5%)
CIE-LABlab(26.50, 40.51, -63.31)
CIE-LCHlch(26.50, 75.17, 302.62°)
OKLaboklab(38.36% 0.0145 -0.1831)
OKLCHoklch(38.36% 0.184 274.5)
XYZxyz(8.5100, 4.9164, 34.6759)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA2 #9FA22B
analogous
#2B63A2 #2E2BA2 #6A2BA2
triadic
#2E2BA2 #A22E2B #2BA22E
tetradic
#2E2BA2 #A22B63 #9FA22B #2BA26A
square
#2E2BA2 #A22B63 #9FA22B #2BA26A
split-complementary
#2E2BA2 #A26A2B #63A22B
monochromatic
#131141 #201E72 #2E2BA2 #423ECC #716FD9

Accessibility & contrast

On white

10.59
#2E2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA2
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA2#FFFFFF#000000##FFFFFF
##2E2BA21.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2ba2;
/* rgb */ color: rgb(46, 43, 162);
/* oklch */ color: oklch(38.4% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#7966bf',
    500: '#2e2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba2;
$custom-light: #7966bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba2",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 241.513,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.18364,
    "h": 274.5
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#2E2BA2
secondary
#BEC069
accent
#E147DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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