#2E3598#2E3598

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

Color values

HEX#2E3598
RGBrgb(46, 53, 152)
HSLhsl(236, 54%, 39%)
HSVhsv(236, 70%, 60%)
CMYKcmyk(69.7%, 65.1%, 0%, 40.4%)
CIE-LABlab(27.83, 30.81, -55.03)
CIE-LCHlch(27.83, 63.07, 299.24°)
OKLaboklab(39.03% 0.0091 -0.1588)
OKLCHoklch(39.03% 0.159 273.3)
XYZxyz(8.0654, 5.3933, 30.3156)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3598 #98912E
analogous
#2E6A98 #2E3598 #5C2E98
triadic
#2E3598 #982E35 #35982E
tetradic
#2E3598 #982E6A #98912E #2E985C
square
#2E3598 #982E6A #98912E #2E985C
split-complementary
#2E3598 #985C2E #6A982E
monochromatic
#12143A #202569 #2E3598 #3E47C5 #6D74D3

Accessibility & contrast

On white

10.10
#2E3598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3598
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3598#FFFFFF#000000##FFFFFF
##2E35981.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3598;
/* rgb */ color: rgb(46, 53, 152);
/* oklch */ color: oklch(39.0% 0.159 273.3);
Tailwind
colors: {
  custom: {
    50: '#756cb7',
    500: '#2e3598',
    950: '#000000',
  },
}
SCSS
$custom: #2e3598;
$custom-light: #756cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3598",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 236.038,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.15911,
    "h": 273.3
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#2E3598
secondary
#BAB568
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3598

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

Preview Lab → · Contrast checker → · Palette generator →

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