#2E2986#2E2986

#2E2986 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.149 H 277.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2E2986
RGBrgb(46, 41, 134)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 53%)
CMYKcmyk(65.7%, 69.4%, 0%, 47.5%)
CIE-LABlab(23.30, 32.13, -51.31)
CIE-LCHlch(23.30, 60.54, 302.05°)
OKLaboklab(35.23% 0.0204 -0.148)
OKLCHoklch(35.23% 0.149 277.8)
XYZxyz(6.2213, 3.8874, 22.9721)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2986 #818629
analogous
#295386 #2E2986 #5D2986
triadic
#2E2986 #862E29 #29862E
tetradic
#2E2986 #862953 #818629 #29865D
square
#2E2986 #862953 #818629 #29865D
split-complementary
#2E2986 #865D29 #538629
monochromatic
#0E0C28 #1E1B57 #2E2986 #3E37B5 #625CCD

Accessibility & contrast

On white

11.81
#2E2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2986
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2986#FFFFFF#000000##FFFFFF
##2E29861.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2986;
/* rgb */ color: rgb(46, 41, 134);
/* oklch */ color: oklch(35.2% 0.149 277.8);
Tailwind
colors: {
  custom: {
    50: '#7263aa',
    500: '#2e2986',
    950: '#000000',
  },
}
SCSS
$custom: #2e2986;
$custom-light: #7263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2986",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 243.226,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35227,
    "c": 0.14939,
    "h": 277.8
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#2E2986
secondary
#AEB358
accent
#DD4BD5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2986

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

Preview Lab → · Contrast checker → · Palette generator →

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