#2E2B4E#2E2B4E

#2E2B4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.062 H 286.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2B4E
RGBrgb(46, 43, 78)
HSLhsl(245, 29%, 24%)
HSVhsv(245, 45%, 31%)
CMYKcmyk(41%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.47, 11.31, -21.13)
CIE-LCHlch(19.47, 23.96, 298.16°)
OKLaboklab(31.02% 0.0172 -0.0594)
OKLCHoklch(31.02% 0.062 286.1)
XYZxyz(3.3654, 2.8585, 7.5807)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B4E #4B4E2B
analogous
#2B394E #2E2B4E #3F2B4E
triadic
#2E2B4E #4E2E2B #2B4E2E
tetradic
#2E2B4E #4E2B39 #4B4E2B #2B4E3F
square
#2E2B4E #4E2B39 #4B4E2B #2B4E3F
split-complementary
#2E2B4E #4E3F2B #394E2B
monochromatic
#0C0B14 #171527 #2E2B4E #454175 #5D569D

Accessibility & contrast

On white

13.36
#2E2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B4E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B4E#FFFFFF#000000##FFFFFF
##2E2B4E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#253238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2b4e;
/* rgb */ color: rgb(46, 43, 78);
/* oklch */ color: oklch(31.0% 0.062 286.1);
Tailwind
colors: {
  custom: {
    50: '#686480',
    500: '#2e2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b4e;
$custom-light: #686480;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b4e",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 245.143,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31017,
    "c": 0.06181,
    "h": 286.1
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#2E2B4E
secondary
#7C8055
accent
#C563BD
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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