#2E2A4E#2E2A4E

#2E2A4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.064 H 287.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2A4E
RGBrgb(46, 42, 78)
HSLhsl(247, 30%, 24%)
HSVhsv(247, 46%, 31%)
CMYKcmyk(41%, 46.2%, 0%, 69.4%)
CIE-LABlab(19.17, 12.01, -21.60)
CIE-LCHlch(19.17, 24.71, 299.08°)
OKLaboklab(30.79% 0.0187 -0.0608)
OKLCHoklch(30.79% 0.064 287.1)
XYZxyz(3.3294, 2.7867, 7.5687)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A4E #4A4E2A
analogous
#2A384E #2E2A4E #402A4E
triadic
#2E2A4E #4E2E2A #2A4E2E
tetradic
#2E2A4E #4E2A38 #4A4E2A #2A4E40
square
#2E2A4E #4E2A38 #4A4E2A #2A4E40
split-complementary
#2E2A4E #4E402A #384E2A
monochromatic
#0C0B14 #171526 #2E2A4E #453F76 #5D559E

Accessibility & contrast

On white

13.48
#2E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A4E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A4E#FFFFFF#000000##FFFFFF
##2E2A4E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#253138
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2a4e;
/* rgb */ color: rgb(46, 42, 78);
/* oklch */ color: oklch(30.8% 0.064 287.1);
Tailwind
colors: {
  custom: {
    50: '#686380',
    500: '#2e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a4e;
$custom-light: #686380;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a4e",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 246.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30789,
    "c": 0.06359,
    "h": 287.1
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#2E2A4E
secondary
#7B8054
accent
#C662BB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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