#2E2176#2E2176

#2E2176 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.138 H 282.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2E2176
RGBrgb(46, 33, 118)
HSLhsl(249, 56%, 30%)
HSVhsv(249, 72%, 46%)
CMYKcmyk(61%, 72%, 0%, 53.7%)
CIE-LABlab(19.95, 31.64, -46.66)
CIE-LCHlch(19.95, 56.37, 304.14°)
OKLaboklab(32.35% 0.0297 -0.1343)
OKLCHoklch(32.35% 0.138 282.5)
XYZxyz(4.9396, 2.9762, 17.4502)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2176 #697621
analogous
#213F76 #2E2176 #582176
triadic
#2E2176 #762E21 #21762E
tetradic
#2E2176 #76213F #697621 #217658
square
#2E2176 #76213F #697621 #217658
split-complementary
#2E2176 #765821 #3F7621
monochromatic
#090718 #1B1446 #2E2176 #412EA6 #5A46CB

Accessibility & contrast

On white

13.16
#2E2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2176
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2176#FFFFFF#000000##FFFFFF
##2E21761.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2176;
/* rgb */ color: rgb(46, 33, 118);
/* oklch */ color: oklch(32.4% 0.138 282.5);
Tailwind
colors: {
  custom: {
    50: '#705d9e',
    500: '#2e2176',
    950: '#000000',
  },
}
SCSS
$custom: #2e2176;
$custom-light: #705d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2176",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 249.176,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.1376,
    "h": 282.5
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#2E2176
secondary
#9BA94A
accent
#E048C8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2176

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

Preview Lab → · Contrast checker → · Palette generator →

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