#2E2394#2E2394

#2E2394 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.174 H 277.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2394
RGBrgb(46, 35, 148)
HSLhsl(246, 62%, 36%)
HSVhsv(246, 76%, 58%)
CMYKcmyk(68.9%, 76.4%, 0%, 42%)
CIE-LABlab(23.41, 40.44, -59.84)
CIE-LCHlch(23.41, 72.22, 304.05°)
OKLaboklab(35.73% 0.022 -0.1729)
OKLCHoklch(35.73% 0.174 277.2)
XYZxyz(7.0713, 3.9204, 28.3953)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2394 #899423
analogous
#235094 #2E2394 #662394
triadic
#2E2394 #942E23 #23942E
tetradic
#2E2394 #942350 #899423 #239466
square
#2E2394 #942350 #899423 #239466
split-complementary
#2E2394 #946623 #509423
monochromatic
#0F0C31 #1F1763 #2E2394 #3D2FC5 #665AD8

Accessibility & contrast

On white

11.77
#2E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2394
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2394#FFFFFF#000000##FFFFFF
##2E23941.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2394;
/* rgb */ color: rgb(46, 35, 148);
/* oklch */ color: oklch(35.7% 0.174 277.2);
Tailwind
colors: {
  custom: {
    50: '#7660b5',
    500: '#2e2394',
    950: '#000000',
  },
}
SCSS
$custom: #2e2394;
$custom-light: #7660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2394",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 245.841,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3573,
    "c": 0.17427,
    "h": 277.2
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#2E2394
secondary
#B2BC57
accent
#E543D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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