#2E2D81#2E2D81

#2E2D81 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.137 H 277.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2D81
RGBrgb(46, 45, 129)
HSLhsl(241, 48%, 34%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(64.3%, 65.1%, 0%, 49.4%)
CIE-LABlab(23.81, 27.78, -47.33)
CIE-LCHlch(23.81, 54.88, 300.41°)
OKLaboklab(35.46% 0.0175 -0.1363)
OKLCHoklch(35.46% 0.137 277.3)
XYZxyz(6.0263, 4.0421, 21.2273)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D81 #80812D
analogous
#2D5681 #2E2D81 #582D81
triadic
#2E2D81 #812E2D #2D812E
tetradic
#2E2D81 #812D56 #80812D #2D8158
square
#2E2D81 #812D56 #80812D #2D8158
split-complementary
#2E2D81 #81582D #56812D
monochromatic
#0E0D26 #1E1D54 #2E2D81 #3E3DAE #6261C8

Accessibility & contrast

On white

11.61
#2E2D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D81
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D81#FFFFFF#000000##FFFFFF
##2E2D811.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2d81;
/* rgb */ color: rgb(46, 45, 129);
/* oklch */ color: oklch(35.5% 0.137 277.3);
Tailwind
colors: {
  custom: {
    50: '#7166a6',
    500: '#2e2d81',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d81;
$custom-light: #7166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d81",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 240.714,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.13741,
    "h": 277.3
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#2E2D81
secondary
#ADAE5C
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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