#2E2892#2E2892

#2E2892 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.166 H 276.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2E2892
RGBrgb(46, 40, 146)
HSLhsl(243, 57%, 36%)
HSVhsv(243, 73%, 57%)
CMYKcmyk(68.5%, 72.6%, 0%, 42.7%)
CIE-LABlab(24.24, 36.87, -57.24)
CIE-LCHlch(24.24, 68.08, 302.79°)
OKLaboklab(36.26% 0.0192 -0.1653)
OKLCHoklch(36.26% 0.166 276.6)
XYZxyz(7.0721, 4.1731, 27.6214)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2892 #8C9228
analogous
#285792 #2E2892 #632892
triadic
#2E2892 #922E28 #28922E
tetradic
#2E2892 #922857 #8C9228 #289263
square
#2E2892 #922857 #8C9228 #289263
split-complementary
#2E2892 #926328 #579228
monochromatic
#100E32 #1F1B62 #2E2892 #3D35C2 #6761D4

Accessibility & contrast

On white

11.45
#2E2892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E2892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2892
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2892#FFFFFF#000000##FFFFFF
##2E28921.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2892;
/* rgb */ color: rgb(46, 40, 146);
/* oklch */ color: oklch(36.3% 0.166 276.6);
Tailwind
colors: {
  custom: {
    50: '#7563b3',
    500: '#2e2892',
    950: '#000000',
  },
}
SCSS
$custom: #2e2892;
$custom-light: #7563b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2892",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 243.396,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36257,
    "c": 0.16643,
    "h": 276.6
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#2E2892
secondary
#B4B95D
accent
#E048D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2892

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

Preview Lab → · Contrast checker → · Palette generator →

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