#2E3383#2E3383

#2E3383 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.132 H 275.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2E3383
RGBrgb(46, 51, 131)
HSLhsl(236, 48%, 35%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(64.9%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.52, 24.50, -45.80)
CIE-LCHlch(25.52, 51.94, 298.14°)
OKLaboklab(36.77% 0.0117 -0.1317)
OKLCHoklch(36.77% 0.132 275.1)
XYZxyz(6.4059, 4.5867, 22.0161)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3383 #837E2E
analogous
#2E5D83 #2E3383 #542E83
triadic
#2E3383 #832E33 #33832E
tetradic
#2E3383 #832E5D #837E2E #2E8354
square
#2E3383 #832E5D #837E2E #2E8354
split-complementary
#2E3383 #83542E #5D832E
monochromatic
#0E1028 #1E2156 #2E3383 #3E45B0 #6369C8

Accessibility & contrast

On white

10.95
#2E3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3383
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3383#FFFFFF#000000##FFFFFF
##2E33831.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3383;
/* rgb */ color: rgb(46, 51, 131);
/* oklch */ color: oklch(36.8% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#716aa8',
    500: '#2e3383',
    950: '#000000',
  },
}
SCSS
$custom: #2e3383;
$custom-light: #716aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3383",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 236.471,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.13227,
    "h": 275.1
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3383

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

Preview Lab → · Contrast checker → · Palette generator →

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