#2E3696#2E3696

#2E3696 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.155 H 273.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2E3696
RGBrgb(46, 54, 150)
HSLhsl(235, 53%, 38%)
HSVhsv(235, 69%, 59%)
CMYKcmyk(69.3%, 64%, 0%, 41.2%)
CIE-LABlab(27.90, 29.43, -53.69)
CIE-LCHlch(27.90, 61.23, 298.73°)
OKLaboklab(39.03% 0.0085 -0.1549)
OKLCHoklch(39.03% 0.155 273.1)
XYZxyz(7.9491, 5.4204, 29.4756)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3696 #968E2E
analogous
#2E6A96 #2E3696 #5A2E96
triadic
#2E3696 #962E36 #36962E
tetradic
#2E3696 #962E6A #968E2E #2E965A
square
#2E3696 #962E6A #968E2E #2E965A
split-complementary
#2E3696 #965A2E #6A962E
monochromatic
#111438 #202567 #2E3696 #3E48C4 #6C74D2

Accessibility & contrast

On white

10.08
#2E3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3696
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3696#FFFFFF#000000##FFFFFF
##2E36961.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3696;
/* rgb */ color: rgb(46, 54, 150);
/* oklch */ color: oklch(39.0% 0.155 273.1);
Tailwind
colors: {
  custom: {
    50: '#756db6',
    500: '#2e3696',
    950: '#000000',
  },
}
SCSS
$custom: #2e3696;
$custom-light: #756db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3696",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 235.385,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.15513,
    "h": 273.1
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#2E3696
secondary
#B9B367
accent
#D14BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3696

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

Preview Lab → · Contrast checker → · Palette generator →

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