#2E2A7D#2E2A7D

#2E2A7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.136 H 278.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2E2A7D
RGBrgb(46, 42, 125)
HSLhsl(243, 50%, 33%)
HSVhsv(243, 66%, 49%)
CMYKcmyk(63.2%, 66.4%, 0%, 51%)
CIE-LABlab(22.71, 28.33, -46.60)
CIE-LCHlch(22.71, 54.53, 301.30°)
OKLaboklab(34.55% 0.0206 -0.1342)
OKLCHoklch(34.55% 0.136 278.7)
XYZxyz(5.6552, 3.7170, 19.8175)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A7D #797D2A
analogous
#2A4F7D #2E2A7D #582A7D
triadic
#2E2A7D #7D2E2A #2A7D2E
tetradic
#2E2A7D #7D2A4F #797D2A #2A7D58
square
#2E2A7D #7D2A4F #797D2A #2A7D58
split-complementary
#2E2A7D #7D582A #4F7D2A
monochromatic
#0C0B21 #1D1B4F #2E2A7D #3F39AB #5F5AC8

Accessibility & contrast

On white

12.05
#2E2A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A7D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A7D#FFFFFF#000000##FFFFFF
##2E2A7D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2a7d;
/* rgb */ color: rgb(46, 42, 125);
/* oklch */ color: oklch(34.5% 0.136 278.7);
Tailwind
colors: {
  custom: {
    50: '#7064a3',
    500: '#2e2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a7d;
$custom-light: #7064a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a7d",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 242.892,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.13573,
    "h": 278.7
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#2E2A7D
secondary
#A9AD56
accent
#D94FD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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