#2E3385#2E3385

#2E3385 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.135 H 275.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2E3385
RGBrgb(46, 51, 133)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 65%, 52%)
CMYKcmyk(65.4%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.69, 25.23, -46.78)
CIE-LCHlch(25.69, 53.15, 298.34°)
OKLaboklab(36.95% 0.0117 -0.1346)
OKLCHoklch(36.95% 0.135 275)
XYZxyz(6.5428, 4.6414, 22.7368)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3385 #85802E
analogous
#2E5E85 #2E3385 #552E85
triadic
#2E3385 #852E33 #33852E
tetradic
#2E3385 #852E5E #85802E #2E8555
square
#2E3385 #852E5E #85802E #2E8555
split-complementary
#2E3385 #85552E #5E852E
monochromatic
#0F102A #1E2258 #2E3385 #3E44B2 #646AC9

Accessibility & contrast

On white

10.89
#2E3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3385
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3385#FFFFFF#000000##FFFFFF
##2E33851.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3385;
/* rgb */ color: rgb(46, 51, 133);
/* oklch */ color: oklch(36.9% 0.135 275.0);
Tailwind
colors: {
  custom: {
    50: '#716aa9',
    500: '#2e3385',
    950: '#000000',
  },
}
SCSS
$custom: #2e3385;
$custom-light: #716aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3385",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 236.552,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36948,
    "c": 0.13515,
    "h": 275
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#2E3385
secondary
#B0AB5F
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3385

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

Preview Lab → · Contrast checker → · Palette generator →

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