#2E3585#2E3585

#2E3585 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.132 H 274.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2E3585
RGBrgb(46, 53, 133)
HSLhsl(235, 49%, 35%)
HSVhsv(235, 65%, 52%)
CMYKcmyk(65.4%, 60.2%, 0%, 47.8%)
CIE-LABlab(26.22, 23.88, -45.92)
CIE-LCHlch(26.22, 51.76, 297.48°)
OKLaboklab(37.34% 0.0098 -0.1321)
OKLCHoklch(37.34% 0.132 274.2)
XYZxyz(6.6321, 4.8199, 22.7666)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3585 #857E2E
analogous
#2E6185 #2E3585 #522E85
triadic
#2E3585 #852E35 #35852E
tetradic
#2E3585 #852E61 #857E2E #2E8552
square
#2E3585 #852E61 #857E2E #2E8552
split-complementary
#2E3585 #85522E #61852E
monochromatic
#0F112A #1E2358 #2E3585 #3E47B2 #646CC9

Accessibility & contrast

On white

10.69
#2E3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3585
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3585#FFFFFF#000000##FFFFFF
##2E35851.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3585;
/* rgb */ color: rgb(46, 53, 133);
/* oklch */ color: oklch(37.3% 0.132 274.2);
Tailwind
colors: {
  custom: {
    50: '#716ca9',
    500: '#2e3585',
    950: '#000000',
  },
}
SCSS
$custom: #2e3585;
$custom-light: #716ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3585",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 235.172,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.13246,
    "h": 274.2
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

primary
#2E3585
secondary
#B0AA5F
accent
#CD50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3585

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

Preview Lab → · Contrast checker → · Palette generator →

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