#2E2385#2E2385

#2E2385 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.155 H 279.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2385
RGBrgb(46, 35, 133)
HSLhsl(247, 58%, 33%)
HSVhsv(247, 74%, 52%)
CMYKcmyk(65.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.86, 35.47, -53.05)
CIE-LCHlch(21.86, 63.81, 303.77°)
OKLaboklab(34.17% 0.0252 -0.1531)
OKLCHoklch(34.17% 0.155 279.4)
XYZxyz(5.9600, 3.4759, 22.5426)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2385 #7A8523
analogous
#234985 #2E2385 #5F2385
triadic
#2E2385 #852E23 #23852E
tetradic
#2E2385 #852349 #7A8523 #23855F
square
#2E2385 #852349 #7A8523 #23855F
split-complementary
#2E2385 #855F23 #498523
monochromatic
#0C0924 #1D1655 #2E2385 #3F30B5 #6051D1

Accessibility & contrast

On white

12.39
#2E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2385
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2385#FFFFFF#000000##FFFFFF
##2E23851.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2385;
/* rgb */ color: rgb(46, 35, 133);
/* oklch */ color: oklch(34.2% 0.155 279.4);
Tailwind
colors: {
  custom: {
    50: '#735fa9',
    500: '#2e2385',
    950: '#000000',
  },
}
SCSS
$custom: #2e2385;
$custom-light: #735fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2385",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 246.735,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.15512,
    "h": 279.4
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#2E2385
secondary
#AAB54F
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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