#2E2A75#2E2A75

#2E2A75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.124 H 279.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E2A75
RGBrgb(46, 42, 117)
HSLhsl(243, 47%, 31%)
HSVhsv(243, 64%, 46%)
CMYKcmyk(60.7%, 64.1%, 0%, 54.1%)
CIE-LABlab(22.02, 25.50, -42.63)
CIE-LCHlch(22.02, 49.68, 300.89°)
OKLaboklab(33.83% 0.0212 -0.1225)
OKLCHoklch(33.83% 0.124 279.8)
XYZxyz(5.1646, 3.5208, 17.2336)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A75 #71752A
analogous
#2A4B75 #2E2A75 #532A75
triadic
#2E2A75 #752E2A #2A752E
tetradic
#2E2A75 #752A4B #71752A #2A7553
square
#2E2A75 #752A4B #71752A #2A7553
split-complementary
#2E2A75 #75532A #4B752A
monochromatic
#0B0A1B #1C1A48 #2E2A75 #403AA2 #5D57C3

Accessibility & contrast

On white

12.32
#2E2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A75
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A75#FFFFFF#000000##FFFFFF
##2E2A751.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#023C4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2a75;
/* rgb */ color: rgb(46, 42, 117);
/* oklch */ color: oklch(33.8% 0.124 279.8);
Tailwind
colors: {
  custom: {
    50: '#6f649d',
    500: '#2e2a75',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a75;
$custom-light: #6f649d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a75",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 243.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33826,
    "c": 0.12435,
    "h": 279.8
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#2E2A75
secondary
#A2A754
accent
#D751D0
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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