#2E3582#2E3582

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

Color values

HEX#2E3582
RGBrgb(46, 53, 130)
HSLhsl(235, 48%, 35%)
HSVhsv(235, 65%, 51%)
CMYKcmyk(64.6%, 59.2%, 0%, 49%)
CIE-LABlab(25.98, 22.78, -44.44)
CIE-LCHlch(25.98, 49.93, 297.14°)
OKLaboklab(37.09% 0.0098 -0.1277)
OKLCHoklch(37.09% 0.128 274.4)
XYZxyz(6.4278, 4.7382, 21.6906)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3582 #827B2E
analogous
#2E5F82 #2E3582 #512E82
triadic
#2E3582 #822E35 #35822E
tetradic
#2E3582 #822E5F #827B2E #2E8251
square
#2E3582 #822E5F #827B2E #2E8251
split-complementary
#2E3582 #82512E #5F822E
monochromatic
#0E1028 #1E2355 #2E3582 #3E47AF #636BC8

Accessibility & contrast

On white

10.78
#2E3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E3582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3582
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3582#FFFFFF#000000##FFFFFF
##2E35821.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3582;
/* rgb */ color: rgb(46, 53, 130);
/* oklch */ color: oklch(37.1% 0.128 274.4);
Tailwind
colors: {
  custom: {
    50: '#706ca7',
    500: '#2e3582',
    950: '#000000',
  },
}
SCSS
$custom: #2e3582;
$custom-light: #706ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3582",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 235,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37085,
    "c": 0.1281,
    "h": 274.4
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#2E3582
secondary
#AEA85D
accent
#CC50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E3582

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

Preview Lab → · Contrast checker → · Palette generator →

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