#2E2AAE#2E2AAE

#2E2AAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.199 H 273.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2E2AAE
RGBrgb(46, 42, 174)
HSLhsl(242, 61%, 42%)
HSVhsv(242, 76%, 68%)
CMYKcmyk(73.6%, 75.9%, 0%, 31.8%)
CIE-LABlab(27.55, 45.07, -68.81)
CIE-LCHlch(27.55, 82.26, 303.23°)
OKLaboklab(39.48% 0.0127 -0.1991)
OKLCHoklch(39.48% 0.199 273.7)
XYZxyz(9.5921, 5.2918, 40.5521)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AAE #AAAE2A
analogous
#2A68AE #2E2AAE #702AAE
triadic
#2E2AAE #AE2E2A #2AAE2E
tetradic
#2E2AAE #AE2A68 #AAAE2A #2AAE70
square
#2E2AAE #AE2A68 #AAAE2A #2AAE70
split-complementary
#2E2AAE #AE702A #68AE2A
monochromatic
#14124B #211E7D #2E2AAE #4843D2 #7875DE

Accessibility & contrast

On white

10.20
#2E2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AAE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AAE#FFFFFF#000000##FFFFFF
##2E2AAE1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2aae;
/* rgb */ color: rgb(46, 42, 174);
/* oklch */ color: oklch(39.5% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b66c7',
    500: '#2e2aae',
    950: '#000000',
  },
}
SCSS
$custom: #2e2aae;
$custom-light: #7b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2aae",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 241.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.19948,
    "h": 273.7
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#2E2AAE
secondary
#C3C56F
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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