#2E2AAC#2E2AAC

#2E2AAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.197 H 273.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2AAC
RGBrgb(46, 42, 172)
HSLhsl(242, 61%, 42%)
HSVhsv(242, 76%, 67%)
CMYKcmyk(73.3%, 75.6%, 0%, 32.5%)
CIE-LABlab(27.34, 44.41, -67.96)
CIE-LCHlch(27.34, 81.19, 303.17°)
OKLaboklab(39.27% 0.0131 -0.1966)
OKLCHoklch(39.27% 0.197 273.8)
XYZxyz(9.3986, 5.2144, 39.5329)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AAC #A8AC2A
analogous
#2A67AC #2E2AAC #6F2AAC
triadic
#2E2AAC #AC2E2A #2AAC2E
tetradic
#2E2AAC #AC2A67 #A8AC2A #2AAC6F
square
#2E2AAC #AC2A67 #A8AC2A #2AAC6F
split-complementary
#2E2AAC #AC6F2A #67AC2A
monochromatic
#14124A #211E7B #2E2AAC #4742D1 #7773DD

Accessibility & contrast

On white

10.28
#2E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AAC
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AAC#FFFFFF#000000##FFFFFF
##2E2AAC1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2aac;
/* rgb */ color: rgb(46, 42, 172);
/* oklch */ color: oklch(39.3% 0.197 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b66c6',
    500: '#2e2aac',
    950: '#000000',
  },
}
SCSS
$custom: #2e2aac;
$custom-light: #7b66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2aac",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 241.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.19704,
    "h": 273.8
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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