#2E2D8B#2E2D8B

#2E2D8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.151 H 276.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2E2D8B
RGBrgb(46, 45, 139)
HSLhsl(241, 51%, 36%)
HSVhsv(241, 68%, 55%)
CMYKcmyk(66.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.71, 31.33, -52.12)
CIE-LCHlch(24.71, 60.82, 301.01°)
OKLaboklab(36.39% 0.0165 -0.1504)
OKLCHoklch(36.39% 0.151 276.3)
XYZxyz(6.7238, 4.3211, 24.9008)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D8B #8A8B2D
analogous
#2D5B8B #2E2D8B #5D2D8B
triadic
#2E2D8B #8B2E2D #2D8B2E
tetradic
#2E2D8B #8B2D5B #8A8B2D #2D8B5D
square
#2E2D8B #8B2D5B #8A8B2D #2D8B5D
split-complementary
#2E2D8B #8B5D2D #5B8B2D
monochromatic
#0F0F2F #1F1E5D #2E2D8B #3D3CB9 #6665CD

Accessibility & contrast

On white

11.26
#2E2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D8B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D8B#FFFFFF#000000##FFFFFF
##2E2D8B1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2d8b;
/* rgb */ color: rgb(46, 45, 139);
/* oklch */ color: oklch(36.4% 0.151 276.3);
Tailwind
colors: {
  custom: {
    50: '#7366ae',
    500: '#2e2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d8b;
$custom-light: #7366ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d8b",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 240.638,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.15127,
    "h": 276.3
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2E2D8B
secondary
#B3B460
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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