#2E2B4D#2E2B4D

#2E2B4D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.060 H 286.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2B4D
RGBrgb(46, 43, 77)
HSLhsl(245, 28%, 24%)
HSVhsv(245, 44%, 30%)
CMYKcmyk(40.3%, 44.2%, 0%, 69.8%)
CIE-LABlab(19.41, 10.98, -20.54)
CIE-LCHlch(19.41, 23.29, 298.12°)
OKLaboklab(30.95% 0.0169 -0.0577)
OKLCHoklch(30.95% 0.06 286.4)
XYZxyz(3.3298, 2.8443, 7.3933)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B4D #4A4D2B
analogous
#2B394D #2E2B4D #3F2B4D
triadic
#2E2B4D #4D2E2B #2B4D2E
tetradic
#2E2B4D #4D2B39 #4A4D2B #2B4D3F
square
#2E2B4D #4D2B39 #4A4D2B #2B4D3F
split-complementary
#2E2B4D #4D3F2B #394D2B
monochromatic
#0C0B14 #171526 #2E2B4D #454174 #5D579C

Accessibility & contrast

On white

13.39
#2E2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B4D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B4D#FFFFFF#000000##FFFFFF
##2E2B4D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#263138
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2b4d;
/* rgb */ color: rgb(46, 43, 77);
/* oklch */ color: oklch(31.0% 0.060 286.4);
Tailwind
colors: {
  custom: {
    50: '#68647f',
    500: '#2e2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b4d;
$custom-light: #68647f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b4d",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 245.294,
    "s": 28.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.06013,
    "h": 286.4
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#2E2B4D
secondary
#7B7F55
accent
#C563BC
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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