#2E3595#2E3595

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

Color values

HEX#2E3595
RGBrgb(46, 53, 149)
HSLhsl(236, 53%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(69.1%, 64.4%, 0%, 41.6%)
CIE-LABlab(27.56, 29.72, -53.63)
CIE-LCHlch(27.56, 61.31, 299.00°)
OKLaboklab(38.75% 0.0093 -0.1547)
OKLCHoklch(38.75% 0.155 273.4)
XYZxyz(7.8228, 5.2963, 29.0380)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3595 #958E2E
analogous
#2E6895 #2E3595 #5A2E95
triadic
#2E3595 #952E35 #35952E
tetradic
#2E3595 #952E68 #958E2E #2E955A
square
#2E3595 #952E68 #958E2E #2E955A
split-complementary
#2E3595 #955A2E #68952E
monochromatic
#111437 #202466 #2E3595 #3D46C3 #6C73D2

Accessibility & contrast

On white

10.20
#2E3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E3595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3595
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3595#FFFFFF#000000##FFFFFF
##2E35951.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3595;
/* rgb */ color: rgb(46, 53, 149);
/* oklch */ color: oklch(38.8% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#756cb5',
    500: '#2e3595',
    950: '#000000',
  },
}
SCSS
$custom: #2e3595;
$custom-light: #756cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3595",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 235.922,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.15501,
    "h": 273.4
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#2E3595
secondary
#B9B366
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3595

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

Preview Lab → · Contrast checker → · Palette generator →

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