#2E2390#2E2390

#2E2390 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.169 H 277.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2E2390
RGBrgb(46, 35, 144)
HSLhsl(246, 61%, 35%)
HSVhsv(246, 76%, 56%)
CMYKcmyk(68.1%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.98, 39.12, -58.06)
CIE-LCHlch(22.98, 70.01, 303.98°)
OKLaboklab(35.31% 0.0229 -0.1677)
OKLCHoklch(35.31% 0.169 277.8)
XYZxyz(6.7602, 3.7959, 26.7566)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2390 #859023
analogous
#234E90 #2E2390 #642390
triadic
#2E2390 #902E23 #23902E
tetradic
#2E2390 #90234E #859023 #239064
square
#2E2390 #90234E #859023 #239064
split-complementary
#2E2390 #906423 #4E9023
monochromatic
#0F0B2E #1E175F #2E2390 #3E2FC1 #6457D6

Accessibility & contrast

On white

11.94
#2E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2390
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2390#FFFFFF#000000##FFFFFF
##2E23901.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2390;
/* rgb */ color: rgb(46, 35, 144);
/* oklch */ color: oklch(35.3% 0.169 277.8);
Tailwind
colors: {
  custom: {
    50: '#7560b2',
    500: '#2e2390',
    950: '#000000',
  },
}
SCSS
$custom: #2e2390;
$custom-light: #7560b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2390",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 246.055,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.16924,
    "h": 277.8
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#2E2390
secondary
#B0BA54
accent
#E444D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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