#2E3785#2E3785

#2E3785 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.130 H 273.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2E3785
RGBrgb(46, 55, 133)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 65%, 52%)
CMYKcmyk(65.4%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.75, 22.53, -45.05)
CIE-LCHlch(26.75, 50.37, 296.57°)
OKLaboklab(37.74% 0.0079 -0.1295)
OKLCHoklch(37.74% 0.13 273.5)
XYZxyz(6.7251, 5.0061, 22.7976)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3785 #857C2E
analogous
#2E6285 #2E3785 #502E85
triadic
#2E3785 #852E37 #37852E
tetradic
#2E3785 #852E62 #857C2E #2E8550
square
#2E3785 #852E62 #857C2E #2E8550
split-complementary
#2E3785 #85502E #62852E
monochromatic
#0F112A #1E2458 #2E3785 #3E4AB2 #646EC9

Accessibility & contrast

On white

10.49
#2E3785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3785
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3785#FFFFFF#000000##FFFFFF
##2E37851.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3785;
/* rgb */ color: rgb(46, 55, 133);
/* oklch */ color: oklch(37.7% 0.130 273.5);
Tailwind
colors: {
  custom: {
    50: '#716da9',
    500: '#2e3785',
    950: '#000000',
  },
}
SCSS
$custom: #2e3785;
$custom-light: #716da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3785",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 233.793,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.12976,
    "h": 273.5
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#2E3785
secondary
#B0A85F
accent
#CA50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3785

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

Preview Lab → · Contrast checker → · Palette generator →

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