#2E3985#2E3985

#2E3985 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.127 H 272.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E3985
RGBrgb(46, 57, 133)
HSLhsl(232, 49%, 35%)
HSVhsv(232, 65%, 52%)
CMYKcmyk(65.4%, 57.1%, 0%, 47.8%)
CIE-LABlab(27.30, 21.17, -44.17)
CIE-LCHlch(27.30, 48.98, 295.61°)
OKLaboklab(38.15% 0.0059 -0.1269)
OKLCHoklch(38.15% 0.127 272.7)
XYZxyz(6.8221, 5.2000, 22.8299)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3985 #857A2E
analogous
#2E6485 #2E3985 #4F2E85
triadic
#2E3985 #852E39 #39852E
tetradic
#2E3985 #852E64 #857A2E #2E854F
square
#2E3985 #852E64 #857A2E #2E854F
split-complementary
#2E3985 #854F2E #64852E
monochromatic
#0F122A #1E2658 #2E3985 #3E4CB2 #6471C9

Accessibility & contrast

On white

10.29
#2E3985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E3985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3985
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3985#FFFFFF#000000##FFFFFF
##2E39851.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3985;
/* rgb */ color: rgb(46, 57, 133);
/* oklch */ color: oklch(38.1% 0.127 272.7);
Tailwind
colors: {
  custom: {
    50: '#716fa9',
    500: '#2e3985',
    950: '#000000',
  },
}
SCSS
$custom: #2e3985;
$custom-light: #716fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3985",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 232.414,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.12703,
    "h": 272.7
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#2E3985
secondary
#B0A65F
accent
#C750D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3985

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

Preview Lab → · Contrast checker → · Palette generator →

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