#2E3499#2E3499

#2E3499 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.162 H 273.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2E3499
RGBrgb(46, 52, 153)
HSLhsl(237, 54%, 39%)
HSVhsv(237, 70%, 60%)
CMYKcmyk(69.9%, 66%, 0%, 40%)
CIE-LABlab(27.67, 31.82, -55.90)
CIE-LCHlch(27.67, 64.32, 299.65°)
OKLaboklab(38.94% 0.0098 -0.1614)
OKLCHoklch(38.94% 0.162 273.5)
XYZxyz(8.1026, 5.3360, 30.7338)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3499 #99932E
analogous
#2E6A99 #2E3499 #5E2E99
triadic
#2E3499 #992E34 #34992E
tetradic
#2E3499 #992E6A #99932E #2E995E
square
#2E3499 #992E6A #99932E #2E995E
split-complementary
#2E3499 #995E2E #6A992E
monochromatic
#12143B #20246A #2E3499 #3F46C5 #6E74D3

Accessibility & contrast

On white

10.16
#2E3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3499
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3499#FFFFFF#000000##FFFFFF
##2E34991.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3499;
/* rgb */ color: rgb(46, 52, 153);
/* oklch */ color: oklch(38.9% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#766bb8',
    500: '#2e3499',
    950: '#000000',
  },
}
SCSS
$custom: #2e3499;
$custom-light: #766bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3499",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 236.636,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.1617,
    "h": 273.5
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#2E3499
secondary
#BBB668
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2E3499

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

Preview Lab → · Contrast checker → · Palette generator →

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