#2E3784#2E3784

#2E3784 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.128 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2E3784
RGBrgb(46, 55, 132)
HSLhsl(234, 48%, 35%)
HSVhsv(234, 65%, 52%)
CMYKcmyk(65.2%, 58.3%, 0%, 48.2%)
CIE-LABlab(26.67, 22.16, -44.55)
CIE-LCHlch(26.67, 49.76, 296.44°)
OKLaboklab(37.66% 0.0079 -0.128)
OKLCHoklch(37.66% 0.128 273.5)
XYZxyz(6.6564, 4.9786, 22.4355)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3784 #847B2E
analogous
#2E6284 #2E3784 #502E84
triadic
#2E3784 #842E37 #37842E
tetradic
#2E3784 #842E62 #847B2E #2E8450
square
#2E3784 #842E62 #847B2E #2E8450
split-complementary
#2E3784 #84502E #62842E
monochromatic
#0E1129 #1E2457 #2E3784 #3E4AB1 #646EC9

Accessibility & contrast

On white

10.52
#2E3784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3784
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3784#FFFFFF#000000##FFFFFF
##2E37841.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3784;
/* rgb */ color: rgb(46, 55, 132);
/* oklch */ color: oklch(37.7% 0.128 273.5);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2e3784',
    950: '#000000',
  },
}
SCSS
$custom: #2e3784;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3784",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 233.721,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.12829,
    "h": 273.5
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#2E3784
secondary
#B0A75E
accent
#CA50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3784

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

Preview Lab → · Contrast checker → · Palette generator →

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