#2E3498#2E3498

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

Color values

HEX#2E3498
RGBrgb(46, 52, 152)
HSLhsl(237, 54%, 39%)
HSVhsv(237, 70%, 60%)
CMYKcmyk(69.7%, 65.8%, 0%, 40.4%)
CIE-LABlab(27.58, 31.46, -55.43)
CIE-LCHlch(27.58, 63.74, 299.57°)
OKLaboklab(38.85% 0.0099 -0.16)
OKLCHoklch(38.85% 0.16 273.5)
XYZxyz(8.0203, 5.3031, 30.3006)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3498 #98922E
analogous
#2E6998 #2E3498 #5D2E98
triadic
#2E3498 #982E34 #34982E
tetradic
#2E3498 #982E69 #98922E #2E985D
square
#2E3498 #982E69 #98922E #2E985D
split-complementary
#2E3498 #985D2E #69982E
monochromatic
#12143A #202469 #2E3498 #3E46C5 #6D73D3

Accessibility & contrast

On white

10.19
#2E3498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3498
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3498#FFFFFF#000000##FFFFFF
##2E34981.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3498;
/* rgb */ color: rgb(46, 52, 152);
/* oklch */ color: oklch(38.8% 0.160 273.5);
Tailwind
colors: {
  custom: {
    50: '#756bb7',
    500: '#2e3498',
    950: '#000000',
  },
}
SCSS
$custom: #2e3498;
$custom-light: #756bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3498",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 236.604,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.16035,
    "h": 273.5
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3498

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

Preview Lab → · Contrast checker → · Palette generator →

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