#2E2DAD#2E2DAD

#2E2DAD is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.195 H 273.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2DAD
RGBrgb(46, 45, 173)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 68%)
CMYKcmyk(73.4%, 74%, 0%, 32.2%)
CIE-LABlab(28.04, 43.05, -67.39)
CIE-LCHlch(28.04, 79.97, 302.57°)
OKLaboklab(39.8% 0.0115 -0.195)
OKLCHoklch(39.8% 0.195 273.4)
XYZxyz(9.6054, 5.4738, 40.0774)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DAD #ACAD2D
analogous
#2D6CAD #2E2DAD #6E2DAD
triadic
#2E2DAD #AD2E2D #2DAD2E
tetradic
#2E2DAD #AD2D6C #ACAD2D #2DAD6E
square
#2E2DAD #AD2D6C #ACAD2D #2DAD6E
split-complementary
#2E2DAD #AD6E2D #6CAD2D
monochromatic
#14144C #21207C #2E2DAD #4948CF #7978DC

Accessibility & contrast

On white

10.02
#2E2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E2DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DAD
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DAD#FFFFFF#000000##FFFFFF
##2E2DAD1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e2dad;
/* rgb */ color: rgb(46, 45, 173);
/* oklch */ color: oklch(39.8% 0.195 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b67c7',
    500: '#2e2dad',
    950: '#000000',
  },
}
SCSS
$custom: #2e2dad;
$custom-light: #7b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2dad",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 240.469,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.19531,
    "h": 273.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#2E2DAD
secondary
#C3C472
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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