#2E399F#2E399F

#2E399F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.164 H 272.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2E399F
RGBrgb(46, 57, 159)
HSLhsl(234, 55%, 40%)
HSVhsv(234, 71%, 62%)
CMYKcmyk(71.1%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.44, 30.74, -56.66)
CIE-LCHlch(29.44, 64.47, 298.48°)
OKLaboklab(40.4% 0.0057 -0.1636)
OKLCHoklch(40.4% 0.164 272)
XYZxyz(8.8457, 6.0094, 33.4879)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E399F #9F942E
analogous
#2E729F #2E399F #5B2E9F
triadic
#2E399F #9F2E39 #399F2E
tetradic
#2E399F #9F2E72 #9F942E #2E9F5B
square
#2E399F #9F2E72 #9F942E #2E9F5B
split-complementary
#2E399F #9F5B2E #729F2E
monochromatic
#131740 #202870 #2E399F #424FC8 #717BD6

Accessibility & contrast

On white

9.54
#2E399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E399F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E399F#FFFFFF#000000##FFFFFF
##2E399F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e399f;
/* rgb */ color: rgb(46, 57, 159);
/* oklch */ color: oklch(40.4% 0.164 272.0);
Tailwind
colors: {
  custom: {
    50: '#776fbc',
    500: '#2e399f',
    950: '#000000',
  },
}
SCSS
$custom: #2e399f;
$custom-light: #776fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e399f",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 234.159,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.1637,
    "h": 272
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#2E399F
secondary
#BEB66B
accent
#D049DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E399F

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

Preview Lab → · Contrast checker → · Palette generator →

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