#2E2079#2E2079

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

Color values

HEX#2E2079
RGBrgb(46, 32, 121)
HSLhsl(249, 58%, 30%)
HSVhsv(249, 74%, 47%)
CMYKcmyk(62%, 73.6%, 0%, 52.5%)
CIE-LABlab(20.02, 33.25, -48.46)
CIE-LCHlch(20.02, 58.77, 304.45°)
OKLaboklab(32.49% 0.03 -0.1396)
OKLCHoklch(32.49% 0.143 282.1)
XYZxyz(5.0933, 2.9940, 18.3950)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2079 #6B7920
analogous
#203F79 #2E2079 #5A2079
triadic
#2E2079 #792E20 #20792E
tetradic
#2E2079 #79203F #6B7920 #20795A
square
#2E2079 #79203F #6B7920 #20795A
split-complementary
#2E2079 #795A20 #3F7920
monochromatic
#090618 #1C1349 #2E2079 #402DA9 #5B45CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2079#FFFFFF#000000##FFFFFF
##2E20791.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)
#00337C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2079;
/* rgb */ color: rgb(46, 32, 121);
/* oklch */ color: oklch(32.5% 0.143 282.1);
Tailwind
colors: {
  custom: {
    50: '#705da1',
    500: '#2e2079',
    950: '#000000',
  },
}
SCSS
$custom: #2e2079;
$custom-light: #705da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2079",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 249.438,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32492,
    "c": 0.14282,
    "h": 282.1
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#2E2079
secondary
#9DAC49
accent
#E146C9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2E2079

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

Preview Lab → · Contrast checker → · Palette generator →

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