#2E349F#2E349F

#2E349F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.170 H 273.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2E349F
RGBrgb(46, 52, 159)
HSLhsl(237, 55%, 40%)
HSVhsv(237, 71%, 62%)
CMYKcmyk(71.1%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.22, 33.96, -58.66)
CIE-LCHlch(28.22, 67.78, 300.07°)
OKLaboklab(39.51% 0.0093 -0.1695)
OKLCHoklch(39.51% 0.17 273.1)
XYZxyz(8.6106, 5.5392, 33.4096)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E349F #9F992E
analogous
#2E6D9F #2E349F #602E9F
triadic
#2E349F #9F2E34 #349F2E
tetradic
#2E349F #9F2E6D #9F992E #2E9F60
square
#2E349F #9F2E6D #9F992E #2E9F60
split-complementary
#2E349F #9F602E #6D9F2E
monochromatic
#131540 #202470 #2E349F #4249C8 #7177D6

Accessibility & contrast

On white

9.96
#2E349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E349F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E349F#FFFFFF#000000##FFFFFF
##2E349F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e349f;
/* rgb */ color: rgb(46, 52, 159);
/* oklch */ color: oklch(39.5% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#776cbc',
    500: '#2e349f',
    950: '#000000',
  },
}
SCSS
$custom: #2e349f;
$custom-light: #776cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e349f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 236.814,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.16972,
    "h": 273.1
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#2E349F
secondary
#BEB96B
accent
#D749DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E349F

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

Preview Lab → · Contrast checker → · Palette generator →

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