#2E2792#2E2792

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

Color values

HEX#2E2792
RGBrgb(46, 39, 146)
HSLhsl(244, 58%, 36%)
HSVhsv(244, 73%, 57%)
CMYKcmyk(68.5%, 73.3%, 0%, 42.7%)
CIE-LABlab(24.02, 37.47, -57.59)
CIE-LCHlch(24.02, 68.70, 303.05°)
OKLaboklab(36.1% 0.0199 -0.1663)
OKLCHoklch(36.1% 0.168 276.8)
XYZxyz(7.0388, 4.1066, 27.6103)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2792 #8B9227
analogous
#275692 #2E2792 #642792
triadic
#2E2792 #922E27 #27922E
tetradic
#2E2792 #922756 #8B9227 #279264
square
#2E2792 #922756 #8B9227 #279264
split-complementary
#2E2792 #926427 #569227
monochromatic
#100D31 #1F1A62 #2E2792 #3D34C2 #675FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2792#FFFFFF#000000##FFFFFF
##2E27921.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)
#003E95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2792;
/* rgb */ color: rgb(46, 39, 146);
/* oklch */ color: oklch(36.1% 0.168 276.8);
Tailwind
colors: {
  custom: {
    50: '#7562b3',
    500: '#2e2792',
    950: '#000000',
  },
}
SCSS
$custom: #2e2792;
$custom-light: #7562b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2792",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 243.925,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.16753,
    "h": 276.8
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#2E2792
secondary
#B3BA5B
accent
#E147D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2792

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

Preview Lab → · Contrast checker → · Palette generator →

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