#2E3D9E#2E3D9E

#2E3D9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.157 H 271.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2E3D9E
RGBrgb(46, 61, 158)
HSLhsl(232, 55%, 40%)
HSVhsv(232, 71%, 62%)
CMYKcmyk(70.9%, 61.4%, 0%, 38%)
CIE-LABlab(30.37, 27.74, -54.54)
CIE-LCHlch(30.37, 61.19, 296.96°)
OKLaboklab(41.06% 0.0027 -0.1573)
OKLCHoklch(41.06% 0.157 271)
XYZxyz(8.9649, 6.3861, 33.1013)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D9E #9E8F2E
analogous
#2E759E #2E3D9E #572E9E
triadic
#2E3D9E #9E2E3D #3D9E2E
tetradic
#2E3D9E #9E2E75 #9E8F2E #2E9E57
square
#2E3D9E #9E2E75 #9E8F2E #2E9E57
split-complementary
#2E3D9E #9E572E #759E2E
monochromatic
#12183F #202B6F #2E3D9E #4153C8 #717ED6

Accessibility & contrast

On white

9.22
#2E3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D9E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D9E#FFFFFF#000000##FFFFFF
##2E3D9E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e3d9e;
/* rgb */ color: rgb(46, 61, 158);
/* oklch */ color: oklch(41.1% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#7672bb',
    500: '#2e3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d9e;
$custom-light: #7672bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d9e",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 231.964,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.15735,
    "h": 271
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#2E3D9E
secondary
#BDB26B
accent
#CA4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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