#2E3084#2E3084

#2E3084 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.138 H 276.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2E3084
RGBrgb(46, 48, 132)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 52%)
CMYKcmyk(65.2%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.83, 26.87, -47.55)
CIE-LCHlch(24.83, 54.62, 299.47°)
OKLaboklab(36.29% 0.0145 -0.1369)
OKLCHoklch(36.29% 0.138 276.1)
XYZxyz(6.3472, 4.3602, 22.3324)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3084 #84822E
analogous
#2E5B84 #2E3084 #572E84
triadic
#2E3084 #842E30 #30842E
tetradic
#2E3084 #842E5B #84822E #2E8457
square
#2E3084 #842E5B #84822E #2E8457
split-complementary
#2E3084 #84572E #5B842E
monochromatic
#0E0F29 #1E1F57 #2E3084 #3E41B1 #6466C9

Accessibility & contrast

On white

11.22
#2E3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3084
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3084#FFFFFF#000000##FFFFFF
##2E30841.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3084;
/* rgb */ color: rgb(46, 48, 132);
/* oklch */ color: oklch(36.3% 0.138 276.1);
Tailwind
colors: {
  custom: {
    50: '#7168a9',
    500: '#2e3084',
    950: '#000000',
  },
}
SCSS
$custom: #2e3084;
$custom-light: #7168a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3084",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 238.605,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36288,
    "c": 0.13771,
    "h": 276.1
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#2E3084
secondary
#B0AE5E
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3084

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

Preview Lab → · Contrast checker → · Palette generator →

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