#2E2B4F#2E2B4F

#2E2B4F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.063 H 285.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#2E2B4F
RGBrgb(46, 43, 79)
HSLhsl(245, 30%, 24%)
HSVhsv(245, 46%, 31%)
CMYKcmyk(41.8%, 45.6%, 0%, 69%)
CIE-LABlab(19.53, 11.63, -21.70)
CIE-LCHlch(19.53, 24.63, 298.19°)
OKLaboklab(31.08% 0.0174 -0.0611)
OKLCHoklch(31.08% 0.063 285.9)
XYZxyz(3.4015, 2.8730, 7.7709)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B4F #4C4F2B
analogous
#2B3A4F #2E2B4F #402B4F
triadic
#2E2B4F #4F2E2B #2B4F2E
tetradic
#2E2B4F #4F2B3A #4C4F2B #2B4F40
square
#2E2B4F #4F2B3A #4C4F2B #2B4F40
split-complementary
#2E2B4F #4F402B #3A4F2B
monochromatic
#0C0B14 #171527 #2E2B4F #454177 #5C569E

Accessibility & contrast

On white

13.34
#2E2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B4F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B4F#FFFFFF#000000##FFFFFF
##2E2B4F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3050
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#253239
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2b4f;
/* rgb */ color: rgb(46, 43, 79);
/* oklch */ color: oklch(31.1% 0.063 285.9);
Tailwind
colors: {
  custom: {
    50: '#686480',
    500: '#2e2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b4f;
$custom-light: #686480;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b4f",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 245,
    "s": 29.508,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31082,
    "c": 0.06349,
    "h": 285.9
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#2E2B4F
secondary
#7D8155
accent
#C662BD
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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