#2E3597#2E3597

#2E3597 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.158 H 273.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2E3597
RGBrgb(46, 53, 151)
HSLhsl(236, 53%, 39%)
HSVhsv(236, 70%, 59%)
CMYKcmyk(69.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.74, 30.45, -54.57)
CIE-LCHlch(27.74, 62.49, 299.16°)
OKLaboklab(38.94% 0.0092 -0.1575)
OKLCHoklch(38.94% 0.158 273.3)
XYZxyz(7.9839, 5.3607, 29.8861)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3597 #97902E
analogous
#2E6997 #2E3597 #5B2E97
triadic
#2E3597 #972E35 #35972E
tetradic
#2E3597 #972E69 #97902E #2E975B
square
#2E3597 #972E69 #97902E #2E975B
split-complementary
#2E3597 #975B2E #69972E
monochromatic
#111439 #202568 #2E3597 #3E47C4 #6D74D2

Accessibility & contrast

On white

10.13
#2E3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3597
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3597#FFFFFF#000000##FFFFFF
##2E35971.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3597;
/* rgb */ color: rgb(46, 53, 151);
/* oklch */ color: oklch(38.9% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#756cb6',
    500: '#2e3597',
    950: '#000000',
  },
}
SCSS
$custom: #2e3597;
$custom-light: #756cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3597",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 236,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.15775,
    "h": 273.3
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#2E3597
secondary
#BAB467
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3597

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

Preview Lab → · Contrast checker → · Palette generator →

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