#2E3484#2E3484

#2E3484 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.132 H 274.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E3484
RGBrgb(46, 52, 132)
HSLhsl(236, 48%, 35%)
HSVhsv(236, 65%, 52%)
CMYKcmyk(65.2%, 60.6%, 0%, 48.2%)
CIE-LABlab(25.87, 24.19, -45.86)
CIE-LCHlch(25.87, 51.85, 297.81°)
OKLaboklab(37.06% 0.0108 -0.1319)
OKLCHoklch(37.06% 0.132 274.7)
XYZxyz(6.5182, 4.7022, 22.3894)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3484 #847E2E
analogous
#2E5F84 #2E3484 #532E84
triadic
#2E3484 #842E34 #34842E
tetradic
#2E3484 #842E5F #847E2E #2E8453
square
#2E3484 #842E5F #847E2E #2E8453
split-complementary
#2E3484 #84532E #5F842E
monochromatic
#0E1029 #1E2257 #2E3484 #3E46B1 #646BC9

Accessibility & contrast

On white

10.82
#2E3484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E3484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3484
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3484#FFFFFF#000000##FFFFFF
##2E34841.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3484;
/* rgb */ color: rgb(46, 52, 132);
/* oklch */ color: oklch(37.1% 0.132 274.7);
Tailwind
colors: {
  custom: {
    50: '#716ba8',
    500: '#2e3484',
    950: '#000000',
  },
}
SCSS
$custom: #2e3484;
$custom-light: #716ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3484",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 132
  },
  "hsl": {
    "h": 235.814,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.13237,
    "h": 274.7
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#2E3484
secondary
#B0AA5E
accent
#CE50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3484

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

Preview Lab → · Contrast checker → · Palette generator →

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