#2E3494#2E3494

#2E3494 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.155 H 273.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3494
RGBrgb(46, 52, 148)
HSLhsl(236, 53%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(68.9%, 64.9%, 0%, 42%)
CIE-LABlab(27.23, 30.02, -53.56)
CIE-LCHlch(27.23, 61.40, 299.26°)
OKLaboklab(38.48% 0.0102 -0.1545)
OKLCHoklch(38.48% 0.155 273.8)
XYZxyz(7.6982, 5.1742, 28.6043)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3494 #948E2E
analogous
#2E6794 #2E3494 #5B2E94
triadic
#2E3494 #942E34 #34942E
tetradic
#2E3494 #942E67 #948E2E #2E945B
square
#2E3494 #942E67 #948E2E #2E945B
split-complementary
#2E3494 #945B2E #67942E
monochromatic
#111337 #1F2465 #2E3494 #3D44C3 #6B71D1

Accessibility & contrast

On white

10.32
#2E3494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E3494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3494
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3494#FFFFFF#000000##FFFFFF
##2E34941.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3494;
/* rgb */ color: rgb(46, 52, 148);
/* oklch */ color: oklch(38.5% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2e3494',
    950: '#000000',
  },
}
SCSS
$custom: #2e3494;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3494",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 236.471,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38479,
    "c": 0.15488,
    "h": 273.8
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#2E3494
secondary
#B8B366
accent
#D44CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3494

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

Preview Lab → · Contrast checker → · Palette generator →

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