#2E2973#2E2973

#2E2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.123 H 280.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2973
RGBrgb(46, 41, 115)
HSLhsl(244, 47%, 31%)
HSVhsv(244, 64%, 45%)
CMYKcmyk(60%, 64.3%, 0%, 54.9%)
CIE-LABlab(21.59, 25.46, -42.04)
CIE-LCHlch(21.59, 49.15, 301.20°)
OKLaboklab(33.46% 0.0223 -0.1208)
OKLCHoklch(33.46% 0.123 280.5)
XYZxyz(5.0132, 3.4042, 16.6092)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2973 #6E7329
analogous
#294973 #2E2973 #532973
triadic
#2E2973 #732E29 #29732E
tetradic
#2E2973 #732949 #6E7329 #297353
square
#2E2973 #732949 #6E7329 #297353
split-complementary
#2E2973 #735329 #497329
monochromatic
#0A0919 #1C1946 #2E2973 #4039A0 #5C54C2

Accessibility & contrast

On white

12.49
#2E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2973
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2973#FFFFFF#000000##FFFFFF
##2E29731.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#063B4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2973;
/* rgb */ color: rgb(46, 41, 115);
/* oklch */ color: oklch(33.5% 0.123 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e639c',
    500: '#2e2973',
    950: '#000000',
  },
}
SCSS
$custom: #2e2973;
$custom-light: #6e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2973",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 244.054,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.12284,
    "h": 280.5
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#2E2973
secondary
#9FA553
accent
#D751CE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2973

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

Preview Lab → · Contrast checker → · Palette generator →

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