#2E2D7A#2E2D7A

#2E2D7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.127 H 278.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2E2D7A
RGBrgb(46, 45, 122)
HSLhsl(241, 46%, 33%)
HSVhsv(241, 63%, 48%)
CMYKcmyk(62.3%, 63.1%, 0%, 52.2%)
CIE-LABlab(23.21, 25.28, -43.88)
CIE-LCHlch(23.21, 50.64, 299.94°)
OKLaboklab(34.83% 0.0179 -0.1262)
OKLCHoklch(34.83% 0.127 278.1)
XYZxyz(5.5768, 3.8623, 18.8602)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D7A #797A2D
analogous
#2D537A #2E2D7A #542D7A
triadic
#2E2D7A #7A2E2D #2D7A2E
tetradic
#2E2D7A #7A2D53 #797A2D #2D7A54
square
#2E2D7A #7A2D53 #797A2D #2D7A54
split-complementary
#2E2D7A #7A542D #537A2D
monochromatic
#0C0C21 #1D1D4D #2E2D7A #3F3DA7 #5F5EC4

Accessibility & contrast

On white

11.85
#2E2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D7A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D7A#FFFFFF#000000##FFFFFF
##2E2D7A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2d7a;
/* rgb */ color: rgb(46, 45, 122);
/* oklch */ color: oklch(34.8% 0.127 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f66a1',
    500: '#2e2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d7a;
$custom-light: #6f66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d7a",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 240.779,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.12743,
    "h": 278.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2E2D7A
secondary
#A9AA59
accent
#D652D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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