#2E2CA6#2E2CA6

#2E2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.188 H 274.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA6
RGBrgb(46, 44, 166)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 73%, 65%)
CMYKcmyk(72.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.11, 41.28, -64.71)
CIE-LCHlch(27.11, 76.76, 302.53°)
OKLaboklab(38.92% 0.0132 -0.1872)
OKLCHoklch(38.92% 0.188 274)
XYZxyz(8.9080, 5.1345, 36.5906)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA6 #A4A62C
analogous
#2C67A6 #2E2CA6 #6B2CA6
triadic
#2E2CA6 #A62E2C #2CA62E
tetradic
#2E2CA6 #A62C67 #A4A62C #2CA66B
square
#2E2CA6 #A62C67 #A4A62C #2CA66B
split-complementary
#2E2CA6 #A66B2C #67A62C
monochromatic
#131245 #211F76 #2E2CA6 #4542CD #7473DA

Accessibility & contrast

On white

10.36
#2E2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA6
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA6#FFFFFF#000000##FFFFFF
##2E2CA61.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ca6;
/* rgb */ color: rgb(46, 44, 166);
/* oklch */ color: oklch(38.9% 0.188 274.0);
Tailwind
colors: {
  custom: {
    50: '#7967c2',
    500: '#2e2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca6;
$custom-light: #7967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca6",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 240.984,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.18763,
    "h": 274
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#2E2CA6
secondary
#C0C16D
accent
#E146DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2E2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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