#2E3299#2E3299

#2E3299 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.164 H 273.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2E3299
RGBrgb(46, 50, 153)
HSLhsl(238, 54%, 39%)
HSVhsv(238, 70%, 60%)
CMYKcmyk(69.9%, 67.3%, 0%, 40%)
CIE-LABlab(27.19, 33.10, -56.69)
CIE-LCHlch(27.19, 65.65, 300.28°)
OKLaboklab(38.59% 0.0113 -0.1637)
OKLCHoklch(38.59% 0.164 273.9)
XYZxyz(8.0152, 5.1612, 30.7046)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3299 #99952E
analogous
#2E6899 #2E3299 #602E99
triadic
#2E3299 #992E32 #32992E
tetradic
#2E3299 #992E68 #99952E #2E9960
square
#2E3299 #992E68 #99952E #2E9960
split-complementary
#2E3299 #99602E #68992E
monochromatic
#12133B #20236A #2E3299 #3F44C5 #6E72D3

Accessibility & contrast

On white

10.33
#2E3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3299
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3299#FFFFFF#000000##FFFFFF
##2E32991.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3299;
/* rgb */ color: rgb(46, 50, 153);
/* oklch */ color: oklch(38.6% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#766ab8',
    500: '#2e3299',
    950: '#000000',
  },
}
SCSS
$custom: #2e3299;
$custom-light: #766ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3299",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 237.757,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.16411,
    "h": 273.9
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#2E3299
secondary
#BBB868
accent
#D84BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E3299

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

Preview Lab → · Contrast checker → · Palette generator →

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