#2E2076#2E2076

#2E2076 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.139 H 282.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2076
RGBrgb(46, 32, 118)
HSLhsl(250, 57%, 29%)
HSVhsv(250, 73%, 46%)
CMYKcmyk(61%, 72.9%, 0%, 53.7%)
CIE-LABlab(19.73, 32.25, -47.02)
CIE-LCHlch(19.73, 57.02, 304.44°)
OKLaboklab(32.19% 0.0306 -0.1354)
OKLCHoklch(32.19% 0.139 282.7)
XYZxyz(4.9122, 2.9215, 17.4411)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2076 #687620
analogous
#203D76 #2E2076 #592076
triadic
#2E2076 #762E20 #20762E
tetradic
#2E2076 #76203D #687620 #207659
square
#2E2076 #76203D #687620 #207659
split-complementary
#2E2076 #765920 #3D7620
monochromatic
#090718 #1B1346 #2E2076 #412DA6 #5A44CC

Accessibility & contrast

On white

13.25
#2E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2076
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2076#FFFFFF#000000##FFFFFF
##2E20761.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#033748
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2076;
/* rgb */ color: rgb(46, 32, 118);
/* oklch */ color: oklch(32.2% 0.139 282.7);
Tailwind
colors: {
  custom: {
    50: '#705d9e',
    500: '#2e2076',
    950: '#000000',
  },
}
SCSS
$custom: #2e2076;
$custom-light: #705d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2076",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 249.767,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.13883,
    "h": 282.7
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#2E2076
secondary
#9AA948
accent
#E147C8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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