#2E399B#2E399B

#2E399B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.158 H 272.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2E399B
RGBrgb(46, 57, 155)
HSLhsl(234, 54%, 39%)
HSVhsv(234, 70%, 61%)
CMYKcmyk(70.3%, 63.2%, 0%, 39.2%)
CIE-LABlab(29.09, 29.28, -54.80)
CIE-LCHlch(29.09, 62.13, 298.12°)
OKLaboklab(40.04% 0.0059 -0.1581)
OKLCHoklch(40.04% 0.158 272.1)
XYZxyz(8.5042, 5.8728, 31.6894)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E399B #9B902E
analogous
#2E709B #2E399B #5A2E9B
triadic
#2E399B #9B2E39 #399B2E
tetradic
#2E399B #9B2E70 #9B902E #2E9B5A
square
#2E399B #9B2E70 #9B902E #2E9B5A
split-complementary
#2E399B #9B5A2E #709B2E
monochromatic
#12163D #20286C #2E399B #404DC6 #6F79D4

Accessibility & contrast

On white

9.66
#2E399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E399B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E399B#FFFFFF#000000##FFFFFF
##2E399B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e399b;
/* rgb */ color: rgb(46, 57, 155);
/* oklch */ color: oklch(40.0% 0.158 272.1);
Tailwind
colors: {
  custom: {
    50: '#766fb9',
    500: '#2e399b',
    950: '#000000',
  },
}
SCSS
$custom: #2e399b;
$custom-light: #766fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e399b",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 233.945,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.15825,
    "h": 272.1
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#2E399B
secondary
#BCB369
accent
#CF4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E399B

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

Preview Lab → · Contrast checker → · Palette generator →

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