#2E2D71#2E2D71

#2E2D71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.1% C 0.114 H 279.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2E2D71
RGBrgb(46, 45, 113)
HSLhsl(241, 43%, 31%)
HSVhsv(241, 60%, 44%)
CMYKcmyk(59.3%, 60.2%, 0%, 55.7%)
CIE-LABlab(22.48, 22.06, -39.33)
CIE-LCHlch(22.48, 45.09, 299.28°)
OKLaboklab(34.06% 0.0181 -0.1128)
OKLCHoklch(34.06% 0.114 279.1)
XYZxyz(5.0448, 3.6495, 16.0582)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D71 #70712D
analogous
#2D4E71 #2E2D71 #502D71
triadic
#2E2D71 #712E2D #2D712E
tetradic
#2E2D71 #712D4E #70712D #2D7150
square
#2E2D71 #712D4E #70712D #2D7150
split-complementary
#2E2D71 #71502D #4E712D
monochromatic
#0A0A19 #1C1C45 #2E2D71 #403E9D #5C5BBE

Accessibility & contrast

On white

12.14
#2E2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D71
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D71#FFFFFF#000000##FFFFFF
##2E2D711.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#093D4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d71;
/* rgb */ color: rgb(46, 45, 113);
/* oklch */ color: oklch(34.1% 0.114 279.1);
Tailwind
colors: {
  custom: {
    50: '#6e669a',
    500: '#2e2d71',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d71;
$custom-light: #6e669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d71",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 240.882,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.11422,
    "h": 279.1
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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