#2E2D72#2E2D72

#2E2D72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.116 H 279.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2E2D72
RGBrgb(46, 45, 114)
HSLhsl(241, 43%, 31%)
HSVhsv(241, 61%, 45%)
CMYKcmyk(59.6%, 60.5%, 0%, 55.3%)
CIE-LABlab(22.56, 22.41, -39.84)
CIE-LCHlch(22.56, 45.71, 299.36°)
OKLaboklab(34.14% 0.0181 -0.1143)
OKLCHoklch(34.14% 0.116 279)
XYZxyz(5.1014, 3.6722, 16.3563)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D72 #71722D
analogous
#2D4E72 #2E2D72 #502D72
triadic
#2E2D72 #722E2D #2D722E
tetradic
#2E2D72 #722D4E #71722D #2D7250
square
#2E2D72 #722D4E #71722D #2D7250
split-complementary
#2E2D72 #72502D #4E722D
monochromatic
#0B0A1A #1C1C46 #2E2D72 #403E9E #5D5BBE

Accessibility & contrast

On white

12.11
#2E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D72
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D72#FFFFFF#000000##FFFFFF
##2E2D721.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#073D4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d72;
/* rgb */ color: rgb(46, 45, 114);
/* oklch */ color: oklch(34.1% 0.116 279.0);
Tailwind
colors: {
  custom: {
    50: '#6e669b',
    500: '#2e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d72;
$custom-light: #6e669b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d72",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 240.87,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.11571,
    "h": 279
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#2E2D72
secondary
#A2A357
accent
#D355D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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