#2E3884#2E3884

#2E3884 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.127 H 273.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2E3884
RGBrgb(46, 56, 132)
HSLhsl(233, 48%, 35%)
HSVhsv(233, 65%, 52%)
CMYKcmyk(65.2%, 57.6%, 0%, 48.2%)
CIE-LABlab(26.95, 21.48, -44.11)
CIE-LCHlch(26.95, 49.06, 295.96°)
OKLaboklab(37.86% 0.0069 -0.1267)
OKLCHoklch(37.86% 0.127 273.1)
XYZxyz(6.7044, 5.0746, 22.4515)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3884 #847A2E
analogous
#2E6384 #2E3884 #4F2E84
triadic
#2E3884 #842E38 #38842E
tetradic
#2E3884 #842E63 #847A2E #2E844F
square
#2E3884 #842E63 #847A2E #2E844F
split-complementary
#2E3884 #844F2E #63842E
monochromatic
#0E1129 #1E2557 #2E3884 #3E4BB1 #646FC9

Accessibility & contrast

On white

10.42
#2E3884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E3884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3884
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3884#FFFFFF#000000##FFFFFF
##2E38841.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3884;
/* rgb */ color: rgb(46, 56, 132);
/* oklch */ color: oklch(37.9% 0.127 273.1);
Tailwind
colors: {
  custom: {
    50: '#716ea8',
    500: '#2e3884',
    950: '#000000',
  },
}
SCSS
$custom: #2e3884;
$custom-light: #716ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3884",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 233.023,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.12693,
    "h": 273.1
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#2E3884
secondary
#B0A65E
accent
#C850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3884

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

Preview Lab → · Contrast checker → · Palette generator →

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