#2E399E#2E399E

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

Color values

HEX#2E399E
RGBrgb(46, 57, 158)
HSLhsl(234, 55%, 40%)
HSVhsv(234, 71%, 62%)
CMYKcmyk(70.9%, 63.9%, 0%, 38%)
CIE-LABlab(29.35, 30.38, -56.20)
CIE-LCHlch(29.35, 63.88, 298.39°)
OKLaboklab(40.31% 0.0058 -0.1622)
OKLCHoklch(40.31% 0.162 272)
XYZxyz(8.7593, 5.9749, 33.0328)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E399E #9E932E
analogous
#2E719E #2E399E #5B2E9E
triadic
#2E399E #9E2E39 #399E2E
tetradic
#2E399E #9E2E71 #9E932E #2E9E5B
square
#2E399E #9E2E71 #9E932E #2E9E5B
split-complementary
#2E399E #9E5B2E #719E2E
monochromatic
#12173F #20286F #2E399E #414FC8 #717BD6

Accessibility & contrast

On white

9.57
#2E399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E399E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E399E#FFFFFF#000000##FFFFFF
##2E399E1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e399e;
/* rgb */ color: rgb(46, 57, 158);
/* oklch */ color: oklch(40.3% 0.162 272.0);
Tailwind
colors: {
  custom: {
    50: '#766fbc',
    500: '#2e399e',
    950: '#000000',
  },
}
SCSS
$custom: #2e399e;
$custom-light: #766fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e399e",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 234.107,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.16234,
    "h": 272
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#2E399E
secondary
#BDB56B
accent
#D04ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E399E

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

Preview Lab → · Contrast checker → · Palette generator →

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