#2E2D52#2E2D52

#2E2D52 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.065 H 283.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2D52
RGBrgb(46, 45, 82)
HSLhsl(242, 29%, 25%)
HSVhsv(242, 45%, 32%)
CMYKcmyk(43.9%, 45.1%, 0%, 67.8%)
CIE-LABlab(20.31, 11.22, -22.48)
CIE-LCHlch(20.31, 25.13, 296.52°)
OKLaboklab(31.74% 0.0149 -0.0633)
OKLCHoklch(31.74% 0.065 283.3)
XYZxyz(3.5877, 3.0667, 8.3839)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D52 #51522D
analogous
#2D3E52 #2E2D52 #412D52
triadic
#2E2D52 #522E2D #2D522E
tetradic
#2E2D52 #522D3E #51522D #2D5241
square
#2E2D52 #522D3E #51522D #2D5241
split-complementary
#2E2D52 #52412D #3E522D
monochromatic
#0B0B14 #18172A #2E2D52 #44437A #5A58A1

Accessibility & contrast

On white

13.02
#2E2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D52
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D52#FFFFFF#000000##FFFFFF
##2E2D521.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203253
Deuteranopia (green-blind)
#1F3051
Tritanopia (blue-blind)
#23343B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2d52;
/* rgb */ color: rgb(46, 45, 82);
/* oklch */ color: oklch(31.7% 0.065 283.3);
Tailwind
colors: {
  custom: {
    50: '#696583',
    500: '#2e2d52',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d52;
$custom-light: #696583;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d52",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 241.622,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31735,
    "c": 0.06508,
    "h": 283.3
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#2E2D52
secondary
#838457
accent
#C562C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2E2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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