#2E3482#2E3482

#2E3482 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.129 H 274.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2E3482
RGBrgb(46, 52, 130)
HSLhsl(236, 48%, 35%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(64.6%, 60%, 0%, 49%)
CIE-LABlab(25.71, 23.46, -44.87)
CIE-LCHlch(25.71, 50.63, 297.60°)
OKLaboklab(36.89% 0.0108 -0.129)
OKLCHoklch(36.89% 0.129 274.8)
XYZxyz(6.3826, 4.6480, 21.6756)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3482 #827C2E
analogous
#2E5E82 #2E3482 #522E82
triadic
#2E3482 #822E34 #34822E
tetradic
#2E3482 #822E5E #827C2E #2E8252
square
#2E3482 #822E5E #827C2E #2E8252
split-complementary
#2E3482 #82522E #5E822E
monochromatic
#0E1028 #1E2255 #2E3482 #3E46AF #636AC8

Accessibility & contrast

On white

10.88
#2E3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3482
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3482#FFFFFF#000000##FFFFFF
##2E34821.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3482;
/* rgb */ color: rgb(46, 52, 130);
/* oklch */ color: oklch(36.9% 0.129 274.8);
Tailwind
colors: {
  custom: {
    50: '#716ba7',
    500: '#2e3482',
    950: '#000000',
  },
}
SCSS
$custom: #2e3482;
$custom-light: #716ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3482",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 235.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.12947,
    "h": 274.8
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#2E3482
secondary
#AEA95D
accent
#CE50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E3482

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

Preview Lab → · Contrast checker → · Palette generator →

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