#2E3485#2E3485

#2E3485 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.134 H 274.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2E3485
RGBrgb(46, 52, 133)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 65%, 52%)
CMYKcmyk(65.4%, 60.9%, 0%, 47.8%)
CIE-LABlab(25.95, 24.56, -46.35)
CIE-LCHlch(25.95, 52.46, 297.91°)
OKLaboklab(37.14% 0.0108 -0.1334)
OKLCHoklch(37.14% 0.134 274.6)
XYZxyz(6.5869, 4.7297, 22.7516)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3485 #857F2E
analogous
#2E5F85 #2E3485 #532E85
triadic
#2E3485 #852E34 #34852E
tetradic
#2E3485 #852E5F #857F2E #2E8553
square
#2E3485 #852E5F #857F2E #2E8553
split-complementary
#2E3485 #85532E #5F852E
monochromatic
#0F102A #1E2258 #2E3485 #3E46B2 #646BC9

Accessibility & contrast

On white

10.79
#2E3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3485
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3485#FFFFFF#000000##FFFFFF
##2E34851.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3485;
/* rgb */ color: rgb(46, 52, 133);
/* oklch */ color: oklch(37.1% 0.134 274.6);
Tailwind
colors: {
  custom: {
    50: '#716ba9',
    500: '#2e3485',
    950: '#000000',
  },
}
SCSS
$custom: #2e3485;
$custom-light: #716ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3485",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 235.862,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37142,
    "c": 0.13381,
    "h": 274.6
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#2E3485
secondary
#B0AA5F
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3485

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

Preview Lab → · Contrast checker → · Palette generator →

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