#2E2472#2E2472

#2E2472 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.128 H 282.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2472
RGBrgb(46, 36, 114)
HSLhsl(248, 52%, 29%)
HSVhsv(248, 68%, 45%)
CMYKcmyk(59.6%, 68.4%, 0%, 55.3%)
CIE-LABlab(20.27, 28.39, -43.56)
CIE-LCHlch(20.27, 52.00, 303.10°)
OKLaboklab(32.47% 0.0275 -0.1253)
OKLCHoklch(32.47% 0.128 282.4)
XYZxyz(4.7939, 3.0572, 16.2538)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2472 #687224
analogous
#244172 #2E2472 #552472
triadic
#2E2472 #722E24 #24722E
tetradic
#2E2472 #722441 #687224 #247255
square
#2E2472 #722441 #687224 #247255
split-complementary
#2E2472 #725524 #417224
monochromatic
#090717 #1B1543 #2E2472 #4133A1 #5A4AC6

Accessibility & contrast

On white

13.03
#2E2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2472
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2472#FFFFFF#000000##FFFFFF
##2E24721.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#093847
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2472;
/* rgb */ color: rgb(46, 36, 114);
/* oklch */ color: oklch(32.5% 0.128 282.4);
Tailwind
colors: {
  custom: {
    50: '#6f5f9b',
    500: '#2e2472',
    950: '#000000',
  },
}
SCSS
$custom: #2e2472;
$custom-light: #6f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2472",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 247.692,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3247,
    "c": 0.12825,
    "h": 282.4
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#2E2472
secondary
#9AA54D
accent
#DB4CC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2472

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

Preview Lab → · Contrast checker → · Palette generator →

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