#2E2179#2E2179

#2E2179 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.142 H 281.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2E2179
RGBrgb(46, 33, 121)
HSLhsl(249, 57%, 30%)
HSVhsv(249, 73%, 47%)
CMYKcmyk(62%, 72.7%, 0%, 52.5%)
CIE-LABlab(20.24, 32.65, -48.10)
CIE-LCHlch(20.24, 58.13, 304.16°)
OKLaboklab(32.65% 0.0292 -0.1386)
OKLCHoklch(32.65% 0.142 281.9)
XYZxyz(5.1207, 3.0487, 18.4041)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2179 #6C7921
analogous
#214079 #2E2179 #5A2179
triadic
#2E2179 #792E21 #21792E
tetradic
#2E2179 #792140 #6C7921 #21795A
square
#2E2179 #792140 #6C7921 #21795A
split-complementary
#2E2179 #795A21 #407921
monochromatic
#090719 #1C1449 #2E2179 #402EA9 #5B47CD

Accessibility & contrast

On white

13.05
#2E2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2179
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2179#FFFFFF#000000##FFFFFF
##2E21791.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2179;
/* rgb */ color: rgb(46, 33, 121);
/* oklch */ color: oklch(32.6% 0.142 281.9);
Tailwind
colors: {
  custom: {
    50: '#705ea1',
    500: '#2e2179',
    950: '#000000',
  },
}
SCSS
$custom: #2e2179;
$custom-light: #705ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2179",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 248.864,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32648,
    "c": 0.14163,
    "h": 281.9
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#2E2179
secondary
#9EAC4A
accent
#E047CA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2E2179

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

Preview Lab → · Contrast checker → · Palette generator →

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