#2E3693#2E3693

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

Color values

HEX#2E3693
RGBrgb(46, 54, 147)
HSLhsl(235, 52%, 38%)
HSVhsv(235, 69%, 58%)
CMYKcmyk(68.7%, 63.3%, 0%, 42.4%)
CIE-LABlab(27.64, 28.34, -52.27)
CIE-LCHlch(27.64, 59.46, 298.46°)
OKLaboklab(38.76% 0.0086 -0.1507)
OKLCHoklch(38.76% 0.151 273.3)
XYZxyz(7.7106, 5.3251, 28.2196)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3693 #938B2E
analogous
#2E6893 #2E3693 #592E93
triadic
#2E3693 #932E36 #36932E
tetradic
#2E3693 #932E68 #938B2E #2E9359
square
#2E3693 #932E68 #938B2E #2E9359
split-complementary
#2E3693 #93592E #68932E
monochromatic
#111436 #1F2564 #2E3693 #3D47C2 #6B73D1

Accessibility & contrast

On white

10.17
#2E3693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3693
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3693#FFFFFF#000000##FFFFFF
##2E36931.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3693;
/* rgb */ color: rgb(46, 54, 147);
/* oklch */ color: oklch(38.8% 0.151 273.3);
Tailwind
colors: {
  custom: {
    50: '#746db4',
    500: '#2e3693',
    950: '#000000',
  },
}
SCSS
$custom: #2e3693;
$custom-light: #746db4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3693",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 235.248,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.15099,
    "h": 273.3
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#2E3693
secondary
#B8B165
accent
#D04CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3693

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

Preview Lab → · Contrast checker → · Palette generator →

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