#2E3497#2E3497

#2E3497 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.159 H 273.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2E3497
RGBrgb(46, 52, 151)
HSLhsl(237, 53%, 39%)
HSVhsv(237, 70%, 59%)
CMYKcmyk(69.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.49, 31.10, -54.97)
CIE-LCHlch(27.49, 63.16, 299.50°)
OKLaboklab(38.76% 0.01 -0.1587)
OKLCHoklch(38.76% 0.159 273.6)
XYZxyz(7.9388, 5.2705, 29.8711)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3497 #97912E
analogous
#2E6897 #2E3497 #5C2E97
triadic
#2E3497 #972E34 #34972E
tetradic
#2E3497 #972E68 #97912E #2E975C
square
#2E3497 #972E68 #97912E #2E975C
split-complementary
#2E3497 #975C2E #68972E
monochromatic
#111439 #202468 #2E3497 #3E46C4 #6D73D2

Accessibility & contrast

On white

10.22
#2E3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3497
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3497#FFFFFF#000000##FFFFFF
##2E34971.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3497;
/* rgb */ color: rgb(46, 52, 151);
/* oklch */ color: oklch(38.8% 0.159 273.6);
Tailwind
colors: {
  custom: {
    50: '#756bb6',
    500: '#2e3497',
    950: '#000000',
  },
}
SCSS
$custom: #2e3497;
$custom-light: #756bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3497",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 236.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.15898,
    "h": 273.6
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#2E3497
secondary
#BAB567
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3497

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

Preview Lab → · Contrast checker → · Palette generator →

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