#2E3684#2E3684

#2E3684 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.130 H 273.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2E3684
RGBrgb(46, 54, 132)
HSLhsl(234, 48%, 35%)
HSVhsv(234, 65%, 52%)
CMYKcmyk(65.2%, 59.1%, 0%, 48.2%)
CIE-LABlab(26.40, 22.84, -44.99)
CIE-LCHlch(26.40, 50.46, 296.91°)
OKLaboklab(37.45% 0.0088 -0.1294)
OKLCHoklch(37.45% 0.13 273.9)
XYZxyz(6.6094, 4.8846, 22.4198)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3684 #847C2E
analogous
#2E6184 #2E3684 #512E84
triadic
#2E3684 #842E36 #36842E
tetradic
#2E3684 #842E61 #847C2E #2E8451
square
#2E3684 #842E61 #847C2E #2E8451
split-complementary
#2E3684 #84512E #61842E
monochromatic
#0E1129 #1E2357 #2E3684 #3E49B1 #646DC9

Accessibility & contrast

On white

10.62
#2E3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3684
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3684#FFFFFF#000000##FFFFFF
##2E36841.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3684;
/* rgb */ color: rgb(46, 54, 132);
/* oklch */ color: oklch(37.5% 0.130 273.9);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2e3684',
    950: '#000000',
  },
}
SCSS
$custom: #2e3684;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3684",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 234.419,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.12966,
    "h": 273.9
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#2E3684
secondary
#B0A85E
accent
#CB50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3684

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

Preview Lab → · Contrast checker → · Palette generator →

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