#2E349D#2E349D

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

Color values

HEX#2E349D
RGBrgb(46, 52, 157)
HSLhsl(237, 55%, 40%)
HSVhsv(237, 71%, 62%)
CMYKcmyk(70.7%, 66.9%, 0%, 38.4%)
CIE-LABlab(28.03, 33.25, -57.74)
CIE-LCHlch(28.03, 66.63, 299.93°)
OKLaboklab(39.32% 0.0095 -0.1668)
OKLCHoklch(39.32% 0.167 273.2)
XYZxyz(8.4385, 5.4703, 32.5029)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E349D #9D972E
analogous
#2E6B9D #2E349D #602E9D
triadic
#2E349D #9D2E34 #349D2E
tetradic
#2E349D #9D2E6B #9D972E #2E9D60
square
#2E349D #9D2E6B #9D972E #2E9D60
split-complementary
#2E349D #9D602E #6B9D2E
monochromatic
#12153E #20246E #2E349D #4148C7 #7076D5

Accessibility & contrast

On white

10.03
#2E349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E349D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E349D#FFFFFF#000000##FFFFFF
##2E349D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e349d;
/* rgb */ color: rgb(46, 52, 157);
/* oklch */ color: oklch(39.3% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#776cbb',
    500: '#2e349d',
    950: '#000000',
  },
}
SCSS
$custom: #2e349d;
$custom-light: #776cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e349d",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 236.757,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.16707,
    "h": 273.2
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#2E349D
secondary
#BDB86A
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E349D

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

Preview Lab → · Contrast checker → · Palette generator →

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