#2E3885#2E3885

#2E3885 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.128 H 273.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2E3885
RGBrgb(46, 56, 133)
HSLhsl(233, 49%, 35%)
HSVhsv(233, 65%, 52%)
CMYKcmyk(65.4%, 57.9%, 0%, 47.8%)
CIE-LABlab(27.02, 21.85, -44.61)
CIE-LCHlch(27.02, 49.67, 296.09°)
OKLaboklab(37.94% 0.0069 -0.1282)
OKLCHoklch(37.94% 0.128 273.1)
XYZxyz(6.7731, 5.1021, 22.8136)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3885 #857B2E
analogous
#2E6485 #2E3885 #4F2E85
triadic
#2E3885 #852E38 #38852E
tetradic
#2E3885 #852E64 #857B2E #2E854F
square
#2E3885 #852E64 #857B2E #2E854F
split-complementary
#2E3885 #854F2E #64852E
monochromatic
#0F122A #1E2558 #2E3885 #3E4BB2 #6470C9

Accessibility & contrast

On white

10.39
#2E3885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E3885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3885
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3885#FFFFFF#000000##FFFFFF
##2E38851.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3885;
/* rgb */ color: rgb(46, 56, 133);
/* oklch */ color: oklch(37.9% 0.128 273.1);
Tailwind
colors: {
  custom: {
    50: '#716ea9',
    500: '#2e3885',
    950: '#000000',
  },
}
SCSS
$custom: #2e3885;
$custom-light: #716ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3885",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 233.103,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.1284,
    "h": 273.1
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#2E3885
secondary
#B0A75F
accent
#C850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3885

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

Preview Lab → · Contrast checker → · Palette generator →

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