#2E3486#2E3486

#2E3486 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.135 H 274.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2E3486
RGBrgb(46, 52, 134)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 66%, 53%)
CMYKcmyk(65.7%, 61.2%, 0%, 47.5%)
CIE-LABlab(26.03, 24.92, -46.84)
CIE-LCHlch(26.03, 53.06, 298.01°)
OKLaboklab(37.23% 0.0107 -0.1348)
OKLCHoklch(37.23% 0.135 274.6)
XYZxyz(6.6564, 4.7575, 23.1171)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3486 #86802E
analogous
#2E6086 #2E3486 #542E86
triadic
#2E3486 #862E34 #34862E
tetradic
#2E3486 #862E60 #86802E #2E8654
square
#2E3486 #862E60 #86802E #2E8654
split-complementary
#2E3486 #86542E #60862E
monochromatic
#0F112B #1E2258 #2E3486 #3E46B4 #646BCA

Accessibility & contrast

On white

10.76
#2E3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3486
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3486#FFFFFF#000000##FFFFFF
##2E34861.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3486;
/* rgb */ color: rgb(46, 52, 134);
/* oklch */ color: oklch(37.2% 0.135 274.6);
Tailwind
colors: {
  custom: {
    50: '#716baa',
    500: '#2e3486',
    950: '#000000',
  },
}
SCSS
$custom: #2e3486;
$custom-light: #716baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3486",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 235.909,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.13525,
    "h": 274.6
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#2E3486
secondary
#B1AB5F
accent
#CF4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3486

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

Preview Lab → · Contrast checker → · Palette generator →

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