#2E2693#2E2693

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

Color values

HEX#2E2693
RGBrgb(46, 38, 147)
HSLhsl(244, 59%, 36%)
HSVhsv(244, 74%, 58%)
CMYKcmyk(68.7%, 74.1%, 0%, 42.4%)
CIE-LABlab(23.91, 38.39, -58.39)
CIE-LCHlch(23.91, 69.88, 303.33°)
OKLaboklab(36.06% 0.0203 -0.1687)
OKLCHoklch(36.06% 0.17 276.9)
XYZxyz(7.0846, 4.0730, 28.0109)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2693 #8B9326
analogous
#265593 #2E2693 #652693
triadic
#2E2693 #932E26 #26932E
tetradic
#2E2693 #932655 #8B9326 #269365
square
#2E2693 #932655 #8B9326 #269365
split-complementary
#2E2693 #936526 #559326
monochromatic
#100D32 #1F1962 #2E2693 #3D33C4 #675ED5

Accessibility & contrast

On white

11.57
#2E2693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2693
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2693#FFFFFF#000000##FFFFFF
##2E26931.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2693;
/* rgb */ color: rgb(46, 38, 147);
/* oklch */ color: oklch(36.1% 0.170 276.9);
Tailwind
colors: {
  custom: {
    50: '#7662b4',
    500: '#2e2693',
    950: '#000000',
  },
}
SCSS
$custom: #2e2693;
$custom-light: #7662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2693",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 244.404,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36056,
    "c": 0.1699,
    "h": 276.9
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2E2693
secondary
#B3BA5A
accent
#E246D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2693

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

Preview Lab → · Contrast checker → · Palette generator →

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