#2E3488#2E3488

#2E3488 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.138 H 274.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E3488
RGBrgb(46, 52, 136)
HSLhsl(236, 49%, 36%)
HSVhsv(236, 66%, 53%)
CMYKcmyk(66.2%, 61.8%, 0%, 46.7%)
CIE-LABlab(26.20, 25.65, -47.82)
CIE-LCHlch(26.20, 54.27, 298.21°)
OKLaboklab(37.4% 0.0107 -0.1377)
OKLCHoklch(37.4% 0.138 274.4)
XYZxyz(6.7972, 4.8138, 23.8587)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3488 #88822E
analogous
#2E6188 #2E3488 #552E88
triadic
#2E3488 #882E34 #34882E
tetradic
#2E3488 #882E61 #88822E #2E8855
square
#2E3488 #882E61 #88822E #2E8855
split-complementary
#2E3488 #88552E #61882E
monochromatic
#0F112D #1F235A #2E3488 #3D45B6 #656CCB

Accessibility & contrast

On white

10.70
#2E3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3488
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3488#FFFFFF#000000##FFFFFF
##2E34881.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3488;
/* rgb */ color: rgb(46, 52, 136);
/* oklch */ color: oklch(37.4% 0.138 274.4);
Tailwind
colors: {
  custom: {
    50: '#726bab',
    500: '#2e3488',
    950: '#000000',
  },
}
SCSS
$custom: #2e3488;
$custom-light: #726bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3488",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 236,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.13811,
    "h": 274.4
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#2E3488
secondary
#B2AC60
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3488

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

Preview Lab → · Contrast checker → · Palette generator →

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