#2E349A#2E349A

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

Color values

HEX#2E349A
RGBrgb(46, 52, 154)
HSLhsl(237, 54%, 39%)
HSVhsv(237, 70%, 60%)
CMYKcmyk(70.1%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.76, 32.18, -56.36)
CIE-LCHlch(27.76, 64.90, 299.72°)
OKLaboklab(39.04% 0.0097 -0.1627)
OKLCHoklch(39.04% 0.163 273.4)
XYZxyz(8.1855, 5.3691, 31.1706)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E349A #9A942E
analogous
#2E6A9A #2E349A #5E2E9A
triadic
#2E349A #9A2E34 #349A2E
tetradic
#2E349A #9A2E6A #9A942E #2E9A5E
square
#2E349A #9A2E6A #9A942E #2E9A5E
split-complementary
#2E349A #9A5E2E #6A9A2E
monochromatic
#12143C #20246B #2E349A #3F47C6 #6F74D4

Accessibility & contrast

On white

10.13
#2E349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E349A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E349A#FFFFFF#000000##FFFFFF
##2E349A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e349a;
/* rgb */ color: rgb(46, 52, 154);
/* oklch */ color: oklch(39.0% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#766bb9',
    500: '#2e349a',
    950: '#000000',
  },
}
SCSS
$custom: #2e349a;
$custom-light: #766bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e349a",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 236.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.16304,
    "h": 273.4
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#2E349A
secondary
#BBB769
accent
#D54ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E349A

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

Preview Lab → · Contrast checker → · Palette generator →

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