#2E3586#2E3586

#2E3586 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.134 H 274.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E3586
RGBrgb(46, 53, 134)
HSLhsl(235, 49%, 35%)
HSVhsv(235, 66%, 53%)
CMYKcmyk(65.7%, 60.4%, 0%, 47.5%)
CIE-LABlab(26.30, 24.25, -46.41)
CIE-LCHlch(26.30, 52.37, 297.58°)
OKLaboklab(37.42% 0.0098 -0.1335)
OKLCHoklch(37.42% 0.134 274.2)
XYZxyz(6.7015, 4.8477, 23.1322)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3586 #867F2E
analogous
#2E6186 #2E3586 #532E86
triadic
#2E3586 #862E35 #35862E
tetradic
#2E3586 #862E61 #867F2E #2E8653
square
#2E3586 #862E61 #867F2E #2E8653
split-complementary
#2E3586 #86532E #61862E
monochromatic
#0F112B #1E2358 #2E3586 #3E47B4 #646DCA

Accessibility & contrast

On white

10.66
#2E3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3586
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3586#FFFFFF#000000##FFFFFF
##2E35861.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3586;
/* rgb */ color: rgb(46, 53, 134);
/* oklch */ color: oklch(37.4% 0.134 274.2);
Tailwind
colors: {
  custom: {
    50: '#716caa',
    500: '#2e3586',
    950: '#000000',
  },
}
SCSS
$custom: #2e3586;
$custom-light: #716caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3586",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 235.227,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.13391,
    "h": 274.2
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#2E3586
secondary
#B1AA5F
accent
#CE4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3586

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

Preview Lab → · Contrast checker → · Palette generator →

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