#2E3487#2E3487

#2E3487 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.137 H 274.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2E3487
RGBrgb(46, 52, 135)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 66%, 53%)
CMYKcmyk(65.9%, 61.5%, 0%, 47.1%)
CIE-LABlab(26.11, 25.29, -47.33)
CIE-LCHlch(26.11, 53.66, 298.11°)
OKLaboklab(37.32% 0.0107 -0.1363)
OKLCHoklch(37.32% 0.137 274.5)
XYZxyz(6.7264, 4.7855, 23.4862)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3487 #87812E
analogous
#2E6087 #2E3487 #542E87
triadic
#2E3487 #872E34 #34872E
tetradic
#2E3487 #872E60 #87812E #2E8754
square
#2E3487 #872E60 #87812E #2E8754
split-complementary
#2E3487 #87542E #60872E
monochromatic
#0F112C #1E2259 #2E3487 #3E46B5 #656CCA

Accessibility & contrast

On white

10.73
#2E3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3487
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3487#FFFFFF#000000##FFFFFF
##2E34871.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3487;
/* rgb */ color: rgb(46, 52, 135);
/* oklch */ color: oklch(37.3% 0.137 274.5);
Tailwind
colors: {
  custom: {
    50: '#726bab',
    500: '#2e3487',
    950: '#000000',
  },
}
SCSS
$custom: #2e3487;
$custom-light: #726bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3487",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 235.955,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37315,
    "c": 0.13668,
    "h": 274.5
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#2E3487
secondary
#B1AC60
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3487

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

Preview Lab → · Contrast checker → · Palette generator →

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