#2E2177#2E2177

#2E2177 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.139 H 282.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2E2177
RGBrgb(46, 33, 119)
HSLhsl(249, 57%, 30%)
HSVhsv(249, 72%, 47%)
CMYKcmyk(61.3%, 72.3%, 0%, 53.3%)
CIE-LABlab(20.04, 31.98, -47.14)
CIE-LCHlch(20.04, 56.96, 304.15°)
OKLaboklab(32.45% 0.0296 -0.1358)
OKLCHoklch(32.45% 0.139 282.3)
XYZxyz(4.9993, 3.0001, 17.7648)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2177 #6A7721
analogous
#213F77 #2E2177 #592177
triadic
#2E2177 #772E21 #21772E
tetradic
#2E2177 #77213F #6A7721 #217759
square
#2E2177 #77213F #6A7721 #217759
split-complementary
#2E2177 #775921 #3F7721
monochromatic
#090718 #1B1447 #2E2177 #412EA7 #5B47CC

Accessibility & contrast

On white

13.13
#2E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2177
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2177#FFFFFF#000000##FFFFFF
##2E21771.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#013849
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2177;
/* rgb */ color: rgb(46, 33, 119);
/* oklch */ color: oklch(32.5% 0.139 282.3);
Tailwind
colors: {
  custom: {
    50: '#705d9f',
    500: '#2e2177',
    950: '#000000',
  },
}
SCSS
$custom: #2e2177;
$custom-light: #705d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2177",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 249.07,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.13895,
    "h": 282.3
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#2E2177
secondary
#9CAA4A
accent
#E048C9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #2E2177

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

Preview Lab → · Contrast checker → · Palette generator →

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