#2E2BA4#2E2BA4

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

Color values

HEX#2E2BA4
RGBrgb(46, 43, 164)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 74%, 64%)
CMYKcmyk(72%, 73.8%, 0%, 35.7%)
CIE-LABlab(26.70, 41.19, -64.19)
CIE-LCHlch(26.70, 76.26, 302.69°)
OKLaboklab(38.57% 0.0142 -0.1856)
OKLCHoklch(38.57% 0.186 274.4)
XYZxyz(8.6892, 4.9881, 35.6196)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA4 #A1A42B
analogous
#2B64A4 #2E2BA4 #6B2BA4
triadic
#2E2BA4 #A42E2B #2BA42E
tetradic
#2E2BA4 #A42B64 #A1A42B #2BA46B
square
#2E2BA4 #A42B64 #A1A42B #2BA46B
split-complementary
#2E2BA4 #A46B2B #64A42B
monochromatic
#131243 #201E74 #2E2BA4 #433FCD #7370D9

Accessibility & contrast

On white

10.51
#2E2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA4
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA4#FFFFFF#000000##FFFFFF
##2E2BA41.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ba4;
/* rgb */ color: rgb(46, 43, 164);
/* oklch */ color: oklch(38.6% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#7966c0',
    500: '#2e2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba4;
$custom-light: #7966c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba4",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 241.488,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.18615,
    "h": 274.4
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#2E2BA4
secondary
#BEC16A
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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