#2E349B#2E349B

#2E349B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.164 H 273.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2E349B
RGBrgb(46, 52, 155)
HSLhsl(237, 54%, 39%)
HSVhsv(237, 70%, 61%)
CMYKcmyk(70.3%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.85, 32.53, -56.82)
CIE-LCHlch(27.85, 65.48, 299.79°)
OKLaboklab(39.13% 0.0096 -0.1641)
OKLCHoklch(39.13% 0.164 273.4)
XYZxyz(8.2691, 5.4026, 31.6110)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E349B #9B952E
analogous
#2E6B9B #2E349B #5F2E9B
triadic
#2E349B #9B2E34 #349B2E
tetradic
#2E349B #9B2E6B #9B952E #2E9B5F
square
#2E349B #9B2E6B #9B952E #2E9B5F
split-complementary
#2E349B #9B5F2E #6B9B2E
monochromatic
#12143D #20246C #2E349B #4047C6 #6F75D4

Accessibility & contrast

On white

10.09
#2E349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E349B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E349B#FFFFFF#000000##FFFFFF
##2E349B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e349b;
/* rgb */ color: rgb(46, 52, 155);
/* oklch */ color: oklch(39.1% 0.164 273.4);
Tailwind
colors: {
  custom: {
    50: '#766cb9',
    500: '#2e349b',
    950: '#000000',
  },
}
SCSS
$custom: #2e349b;
$custom-light: #766cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e349b",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 236.697,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.16439,
    "h": 273.4
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#2E349B
secondary
#BCB769
accent
#D54ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E349B

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

Preview Lab → · Contrast checker → · Palette generator →

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