#2E3583#2E3583

#2E3583 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.130 H 274.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2E3583
RGBrgb(46, 53, 131)
HSLhsl(235, 48%, 35%)
HSVhsv(235, 65%, 51%)
CMYKcmyk(64.9%, 59.5%, 0%, 48.6%)
CIE-LABlab(26.06, 23.15, -44.93)
CIE-LCHlch(26.06, 50.54, 297.26°)
OKLaboklab(37.17% 0.0098 -0.1292)
OKLCHoklch(37.17% 0.13 274.3)
XYZxyz(6.4952, 4.7652, 22.0458)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3583 #837C2E
analogous
#2E6083 #2E3583 #522E83
triadic
#2E3583 #832E35 #35832E
tetradic
#2E3583 #832E60 #837C2E #2E8352
square
#2E3583 #832E60 #837C2E #2E8352
split-complementary
#2E3583 #83522E #60832E
monochromatic
#0E1028 #1E2356 #2E3583 #3E47B0 #636BC8

Accessibility & contrast

On white

10.75
#2E3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3583
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3583#FFFFFF#000000##FFFFFF
##2E35831.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3583;
/* rgb */ color: rgb(46, 53, 131);
/* oklch */ color: oklch(37.2% 0.130 274.3);
Tailwind
colors: {
  custom: {
    50: '#716ca8',
    500: '#2e3583',
    950: '#000000',
  },
}
SCSS
$custom: #2e3583;
$custom-light: #716ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3583",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 235.059,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.12956,
    "h": 274.3
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#2E3583
secondary
#AFA85E
accent
#CC50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3583

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

Preview Lab → · Contrast checker → · Palette generator →

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