#2E2692#2E2692

#2E2692 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.169 H 277.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2692
RGBrgb(46, 38, 146)
HSLhsl(244, 59%, 36%)
HSVhsv(244, 74%, 57%)
CMYKcmyk(68.5%, 74%, 0%, 42.7%)
CIE-LABlab(23.81, 38.06, -57.94)
CIE-LCHlch(23.81, 69.32, 303.30°)
OKLaboklab(35.95% 0.0205 -0.1674)
OKLCHoklch(35.95% 0.169 277)
XYZxyz(7.0064, 4.0418, 27.5995)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2692 #8A9226
analogous
#265492 #2E2692 #642692
triadic
#2E2692 #922E26 #26922E
tetradic
#2E2692 #922654 #8A9226 #269264
square
#2E2692 #922654 #8A9226 #269264
split-complementary
#2E2692 #926426 #549226
monochromatic
#0F0D31 #1F1961 #2E2692 #3D33C3 #665DD5

Accessibility & contrast

On white

11.61
#2E2692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2692
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2692#FFFFFF#000000##FFFFFF
##2E26921.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2692;
/* rgb */ color: rgb(46, 38, 146);
/* oklch */ color: oklch(36.0% 0.169 277.0);
Tailwind
colors: {
  custom: {
    50: '#7562b3',
    500: '#2e2692',
    950: '#000000',
  },
}
SCSS
$custom: #2e2692;
$custom-light: #7562b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2692",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 244.444,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35952,
    "c": 0.16862,
    "h": 277
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2692

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

Preview Lab → · Contrast checker → · Palette generator →

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