#2E2D8F#2E2D8F

#2E2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.157 H 275.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2E2D8F
RGBrgb(46, 45, 143)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(67.8%, 68.5%, 0%, 43.9%)
CIE-LABlab(25.08, 32.74, -54.00)
CIE-LCHlch(25.08, 63.15, 301.23°)
OKLaboklab(36.77% 0.0161 -0.1559)
OKLCHoklch(36.77% 0.157 275.9)
XYZxyz(7.0214, 4.4402, 26.4683)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D8F #8E8F2D
analogous
#2D5D8F #2E2D8F #5F2D8F
triadic
#2E2D8F #8F2E2D #2D8F2E
tetradic
#2E2D8F #8F2D5D #8E8F2D #2D8F5F
square
#2E2D8F #8F2D5D #8E8F2D #2D8F5F
split-complementary
#2E2D8F #8F5F2D #5D8F2D
monochromatic
#101032 #1F1E60 #2E2D8F #3D3CBE #6867CF

Accessibility & contrast

On white

11.12
#2E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D8F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D8F#FFFFFF#000000##FFFFFF
##2E2D8F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2d8f;
/* rgb */ color: rgb(46, 45, 143);
/* oklch */ color: oklch(36.8% 0.157 275.9);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2e2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d8f;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d8f",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 240.612,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.15669,
    "h": 275.9
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#2E2D8F
secondary
#B5B662
accent
#DC4CDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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