#2E3495#2E3495

#2E3495 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.156 H 273.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E3495
RGBrgb(46, 52, 149)
HSLhsl(237, 53%, 38%)
HSVhsv(237, 69%, 58%)
CMYKcmyk(69.1%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.31, 30.38, -54.03)
CIE-LCHlch(27.31, 61.99, 299.34°)
OKLaboklab(38.57% 0.0101 -0.1559)
OKLCHoklch(38.57% 0.156 273.7)
XYZxyz(7.7777, 5.2060, 29.0229)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3495 #958F2E
analogous
#2E6795 #2E3495 #5B2E95
triadic
#2E3495 #952E34 #34952E
tetradic
#2E3495 #952E67 #958F2E #2E955B
square
#2E3495 #952E67 #958F2E #2E955B
split-complementary
#2E3495 #955B2E #67952E
monochromatic
#111337 #202466 #2E3495 #3D45C3 #6C72D2

Accessibility & contrast

On white

10.29
#2E3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3495
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3495#FFFFFF#000000##FFFFFF
##2E34951.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3495;
/* rgb */ color: rgb(46, 52, 149);
/* oklch */ color: oklch(38.6% 0.156 273.7);
Tailwind
colors: {
  custom: {
    50: '#756bb5',
    500: '#2e3495',
    950: '#000000',
  },
}
SCSS
$custom: #2e3495;
$custom-light: #756bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3495",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 236.505,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.15626,
    "h": 273.7
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3495

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

Preview Lab → · Contrast checker → · Palette generator →

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