#2E2575#2E2575

#2E2575 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.131 H 281.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2E2575
RGBrgb(46, 37, 117)
HSLhsl(247, 52%, 30%)
HSVhsv(247, 68%, 46%)
CMYKcmyk(60.7%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.78, 28.78, -44.65)
CIE-LCHlch(20.78, 53.13, 302.81°)
OKLaboklab(32.92% 0.0262 -0.1285)
OKLCHoklch(32.92% 0.131 281.5)
XYZxyz(4.9982, 3.1880, 17.1781)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2575 #6C7525
analogous
#254475 #2E2575 #562575
triadic
#2E2575 #752E25 #25752E
tetradic
#2E2575 #752544 #6C7525 #257556
square
#2E2575 #752544 #6C7525 #257556
split-complementary
#2E2575 #755625 #447525
monochromatic
#090818 #1C1647 #2E2575 #4034A3 #5B4EC7

Accessibility & contrast

On white

12.82
#2E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2575
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2575#FFFFFF#000000##FFFFFF
##2E25751.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#043949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2575;
/* rgb */ color: rgb(46, 37, 117);
/* oklch */ color: oklch(32.9% 0.131 281.5);
Tailwind
colors: {
  custom: {
    50: '#6f609e',
    500: '#2e2575',
    950: '#000000',
  },
}
SCSS
$custom: #2e2575;
$custom-light: #6f609e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2575",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 246.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.13111,
    "h": 281.5
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#2E2575
secondary
#9EA84E
accent
#DB4CCB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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