#2E2D79#2E2D79

#2E2D79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.126 H 278.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2D79
RGBrgb(46, 45, 121)
HSLhsl(241, 46%, 33%)
HSVhsv(241, 63%, 47%)
CMYKcmyk(62%, 62.8%, 0%, 52.5%)
CIE-LABlab(23.13, 24.92, -43.38)
CIE-LCHlch(23.13, 50.03, 299.87°)
OKLaboklab(34.75% 0.0179 -0.1247)
OKLCHoklch(34.75% 0.126 278.2)
XYZxyz(5.5152, 3.8377, 18.5356)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D79 #78792D
analogous
#2D5279 #2E2D79 #542D79
triadic
#2E2D79 #792E2D #2D792E
tetradic
#2E2D79 #792D52 #78792D #2D7954
square
#2E2D79 #792D52 #78792D #2D7954
split-complementary
#2E2D79 #79542D #52792D
monochromatic
#0C0C20 #1D1C4C #2E2D79 #3F3EA6 #5F5DC3

Accessibility & contrast

On white

11.88
#2E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D79
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D79#FFFFFF#000000##FFFFFF
##2E2D791.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2d79;
/* rgb */ color: rgb(46, 45, 121);
/* oklch */ color: oklch(34.7% 0.126 278.2);
Tailwind
colors: {
  custom: {
    50: '#6f66a0',
    500: '#2e2d79',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d79;
$custom-light: #6f66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d79",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 240.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.12599,
    "h": 278.2
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#2E2D79
secondary
#A8A958
accent
#D552D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2E2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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