#2E3698#2E3698

#2E3698 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.158 H 273.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E3698
RGBrgb(46, 54, 152)
HSLhsl(235, 54%, 39%)
HSVhsv(235, 70%, 60%)
CMYKcmyk(69.7%, 64.5%, 0%, 40.4%)
CIE-LABlab(28.08, 30.16, -54.63)
CIE-LCHlch(28.08, 62.40, 298.90°)
OKLaboklab(39.21% 0.0084 -0.1577)
OKLCHoklch(39.21% 0.158 273)
XYZxyz(8.1115, 5.4854, 30.3310)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3698 #98902E
analogous
#2E6B98 #2E3698 #5B2E98
triadic
#2E3698 #982E36 #36982E
tetradic
#2E3698 #982E6B #98902E #2E985B
square
#2E3698 #982E6B #98902E #2E985B
split-complementary
#2E3698 #985B2E #6B982E
monochromatic
#12153A #202569 #2E3698 #3E49C5 #6D75D3

Accessibility & contrast

On white

10.01
#2E3698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E3698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3698
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3698#FFFFFF#000000##FFFFFF
##2E36981.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3698;
/* rgb */ color: rgb(46, 54, 152);
/* oklch */ color: oklch(39.2% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#756db7',
    500: '#2e3698',
    950: '#000000',
  },
}
SCSS
$custom: #2e3698;
$custom-light: #756db7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3698",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 235.472,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.15788,
    "h": 273
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2E3698
secondary
#BAB468
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3698

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

Preview Lab → · Contrast checker → · Palette generator →

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