#2E2596#2E2596

#2E2596 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.175 H 276.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2E2596
RGBrgb(46, 37, 150)
HSLhsl(245, 60%, 37%)
HSVhsv(245, 75%, 59%)
CMYKcmyk(69.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(24.02, 39.97, -60.06)
CIE-LCHlch(24.02, 72.15, 303.64°)
OKLaboklab(36.22% 0.0203 -0.1736)
OKLCHoklch(36.22% 0.175 276.7)
XYZxyz(7.2915, 4.1053, 29.2564)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2596 #8D9625
analogous
#255596 #2E2596 #672596
triadic
#2E2596 #962E25 #25962E
tetradic
#2E2596 #962555 #8D9625 #259667
square
#2E2596 #962555 #8D9625 #259667
split-complementary
#2E2596 #966725 #559625
monochromatic
#100D34 #1F1965 #2E2596 #3D31C7 #685ED7

Accessibility & contrast

On white

11.53
#2E2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2596
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2596#FFFFFF#000000##FFFFFF
##2E25961.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2596;
/* rgb */ color: rgb(46, 37, 150);
/* oklch */ color: oklch(36.2% 0.175 276.7);
Tailwind
colors: {
  custom: {
    50: '#7661b6',
    500: '#2e2596',
    950: '#000000',
  },
}
SCSS
$custom: #2e2596;
$custom-light: #7661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2596",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 244.779,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36224,
    "c": 0.17475,
    "h": 276.7
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2E2596
secondary
#B5BC5B
accent
#E444D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2596

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

Preview Lab → · Contrast checker → · Palette generator →

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