#2E3285#2E3285

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

Color values

HEX#2E3285
RGBrgb(46, 50, 133)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 65%, 52%)
CMYKcmyk(65.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.43, 25.90, -47.20)
CIE-LCHlch(25.43, 53.84, 298.75°)
OKLaboklab(36.75% 0.0126 -0.1359)
OKLCHoklch(36.75% 0.136 275.3)
XYZxyz(6.4996, 4.5550, 22.7224)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3285 #85812E
analogous
#2E5E85 #2E3285 #552E85
triadic
#2E3285 #852E32 #32852E
tetradic
#2E3285 #852E5E #85812E #2E8555
square
#2E3285 #852E5E #85812E #2E8555
split-complementary
#2E3285 #85552E #5E852E
monochromatic
#0F102A #1E2158 #2E3285 #3E43B2 #6469C9

Accessibility & contrast

On white

10.99
#2E3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3285
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3285#FFFFFF#000000##FFFFFF
##2E32851.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3285;
/* rgb */ color: rgb(46, 50, 133);
/* oklch */ color: oklch(36.8% 0.136 275.3);
Tailwind
colors: {
  custom: {
    50: '#716aa9',
    500: '#2e3285',
    950: '#000000',
  },
}
SCSS
$custom: #2e3285;
$custom-light: #716aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3285",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 237.241,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.13649,
    "h": 275.3
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#2E3285
secondary
#B0AC5F
accent
#D250D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3285

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

Preview Lab → · Contrast checker → · Palette generator →

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