#2E2D82#2E2D82

#2E2D82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.139 H 277.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2E2D82
RGBrgb(46, 45, 130)
HSLhsl(241, 49%, 34%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(64.6%, 65.4%, 0%, 49%)
CIE-LABlab(23.90, 28.14, -47.82)
CIE-LCHlch(23.90, 55.48, 300.47°)
OKLaboklab(35.55% 0.0174 -0.1377)
OKLCHoklch(35.55% 0.139 277.2)
XYZxyz(6.0931, 4.0688, 21.5790)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D82 #81822D
analogous
#2D5782 #2E2D82 #592D82
triadic
#2E2D82 #822E2D #2D822E
tetradic
#2E2D82 #822D57 #81822D #2D8259
square
#2E2D82 #822D57 #81822D #2D8259
split-complementary
#2E2D82 #82592D #57822D
monochromatic
#0E0E27 #1E1D55 #2E2D82 #3E3DAF #6261C8

Accessibility & contrast

On white

11.58
#2E2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D82
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D82#FFFFFF#000000##FFFFFF
##2E2D821.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2d82;
/* rgb */ color: rgb(46, 45, 130);
/* oklch */ color: oklch(35.6% 0.139 277.2);
Tailwind
colors: {
  custom: {
    50: '#7166a7',
    500: '#2e2d82',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d82;
$custom-light: #7166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d82",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 240.706,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.13882,
    "h": 277.2
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#2E2D82
secondary
#AEAF5C
accent
#D850D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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