#2E2473#2E2473

#2E2473 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.130 H 282.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2E2473
RGBrgb(46, 36, 115)
HSLhsl(248, 52%, 30%)
HSVhsv(248, 69%, 45%)
CMYKcmyk(60%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.36, 28.74, -44.05)
CIE-LCHlch(20.36, 52.60, 303.12°)
OKLaboklab(32.56% 0.0274 -0.1267)
OKLCHoklch(32.56% 0.13 282.2)
XYZxyz(4.8511, 3.0801, 16.5552)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2473 #697324
analogous
#244273 #2E2473 #562473
triadic
#2E2473 #732E24 #24732E
tetradic
#2E2473 #732442 #697324 #247356
square
#2E2473 #732442 #697324 #247356
split-complementary
#2E2473 #735624 #427324
monochromatic
#090717 #1B1544 #2E2473 #4133A2 #5A4BC7

Accessibility & contrast

On white

13.00
#2E2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2473
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2473#FFFFFF#000000##FFFFFF
##2E24731.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#083848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2473;
/* rgb */ color: rgb(46, 36, 115);
/* oklch */ color: oklch(32.6% 0.130 282.2);
Tailwind
colors: {
  custom: {
    50: '#6f5f9c',
    500: '#2e2473',
    950: '#000000',
  },
}
SCSS
$custom: #2e2473;
$custom-light: #6f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2473",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 247.595,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.12964,
    "h": 282.2
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2E2473
secondary
#9BA64D
accent
#DC4CCA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2473

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

Preview Lab → · Contrast checker → · Palette generator →

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