#2E2896#2E2896

#2E2896 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.172 H 276.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E2896
RGBrgb(46, 40, 150)
HSLhsl(243, 58%, 37%)
HSVhsv(243, 73%, 59%)
CMYKcmyk(69.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.64, 38.23, -59.04)
CIE-LCHlch(24.64, 70.33, 302.92°)
OKLaboklab(36.67% 0.0185 -0.1706)
OKLCHoklch(36.67% 0.172 276.2)
XYZxyz(7.3887, 4.2998, 29.2888)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2896 #909628
analogous
#285996 #2E2896 #652896
triadic
#2E2896 #962E28 #28962E
tetradic
#2E2896 #962859 #909628 #289665
square
#2E2896 #962859 #909628 #289665
split-complementary
#2E2896 #966528 #599628
monochromatic
#100E35 #1F1B66 #2E2896 #3D35C6 #6963D5

Accessibility & contrast

On white

11.29
#2E2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2896
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2896#FFFFFF#000000##FFFFFF
##2E28961.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2896;
/* rgb */ color: rgb(46, 40, 150);
/* oklch */ color: oklch(36.7% 0.172 276.2);
Tailwind
colors: {
  custom: {
    50: '#7663b6',
    500: '#2e2896',
    950: '#000000',
  },
}
SCSS
$custom: #2e2896;
$custom-light: #7663b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2896",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 243.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.17159,
    "h": 276.2
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2E2896
secondary
#B6BB5F
accent
#E147D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2896

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

Preview Lab → · Contrast checker → · Palette generator →

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