#2E2D75#2E2D75

#2E2D75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.120 H 278.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2E2D75
RGBrgb(46, 45, 117)
HSLhsl(241, 44%, 32%)
HSVhsv(241, 62%, 46%)
CMYKcmyk(60.7%, 61.5%, 0%, 54.1%)
CIE-LABlab(22.80, 23.49, -41.37)
CIE-LCHlch(22.80, 47.57, 299.59°)
OKLaboklab(34.4% 0.018 -0.1188)
OKLCHoklch(34.4% 0.12 278.6)
XYZxyz(5.2750, 3.7416, 17.2704)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D75 #74752D
analogous
#2D5075 #2E2D75 #522D75
triadic
#2E2D75 #752E2D #2D752E
tetradic
#2E2D75 #752D50 #74752D #2D7552
square
#2E2D75 #752D50 #74752D #2D7552
split-complementary
#2E2D75 #75522D #50752D
monochromatic
#0B0B1D #1D1C49 #2E2D75 #3F3EA1 #5D5CC0

Accessibility & contrast

On white

12.01
#2E2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D75
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D75#FFFFFF#000000##FFFFFF
##2E2D751.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#023E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d75;
/* rgb */ color: rgb(46, 45, 117);
/* oklch */ color: oklch(34.4% 0.120 278.6);
Tailwind
colors: {
  custom: {
    50: '#6e669d',
    500: '#2e2d75',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d75;
$custom-light: #6e669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d75",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 240.833,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.12015,
    "h": 278.6
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#2E2D75
secondary
#A5A657
accent
#D454D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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