#2E3699#2E3699

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

Color values

HEX#2E3699
RGBrgb(46, 54, 153)
HSLhsl(236, 54%, 39%)
HSVhsv(236, 70%, 60%)
CMYKcmyk(69.9%, 64.7%, 0%, 40%)
CIE-LABlab(28.16, 30.52, -55.09)
CIE-LCHlch(28.16, 62.98, 298.98°)
OKLaboklab(39.3% 0.0083 -0.159)
OKLCHoklch(39.3% 0.159 273)
XYZxyz(8.1937, 5.5183, 30.7641)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3699 #99912E
analogous
#2E6C99 #2E3699 #5C2E99
triadic
#2E3699 #992E36 #36992E
tetradic
#2E3699 #992E6C #99912E #2E995C
square
#2E3699 #992E6C #99912E #2E995C
split-complementary
#2E3699 #995C2E #6C992E
monochromatic
#12153B #20256A #2E3699 #3F49C5 #6E76D3

Accessibility & contrast

On white

9.98
#2E3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3699
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3699#FFFFFF#000000##FFFFFF
##2E36991.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3699;
/* rgb */ color: rgb(46, 54, 153);
/* oklch */ color: oklch(39.3% 0.159 273.0);
Tailwind
colors: {
  custom: {
    50: '#756db8',
    500: '#2e3699',
    950: '#000000',
  },
}
SCSS
$custom: #2e3699;
$custom-light: #756db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3699",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 235.514,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.15925,
    "h": 273
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#2E3699
secondary
#BBB468
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2E3699

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

Preview Lab → · Contrast checker → · Palette generator →

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