#2E2CA4#2E2CA4

#2E2CA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.185 H 274.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA4
RGBrgb(46, 44, 164)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(72%, 73.2%, 0%, 35.7%)
CIE-LABlab(26.91, 40.60, -63.84)
CIE-LCHlch(26.91, 75.66, 302.46°)
OKLaboklab(38.71% 0.0136 -0.1846)
OKLCHoklch(38.71% 0.185 274.2)
XYZxyz(8.7260, 5.0617, 35.6319)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA4 #A2A42C
analogous
#2C66A4 #2E2CA4 #6A2CA4
triadic
#2E2CA4 #A42E2C #2CA42E
tetradic
#2E2CA4 #A42C66 #A2A42C #2CA46A
square
#2E2CA4 #A42C66 #A2A42C #2CA46A
split-complementary
#2E2CA4 #A46A2C #66A42C
monochromatic
#131243 #201F74 #2E2CA4 #4341CC #7371D9

Accessibility & contrast

On white

10.43
#2E2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA4
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA4#FFFFFF#000000##FFFFFF
##2E2CA41.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ca4;
/* rgb */ color: rgb(46, 44, 164);
/* oklch */ color: oklch(38.7% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#7966c0',
    500: '#2e2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca4;
$custom-light: #7966c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca4",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 241,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.18512,
    "h": 274.2
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#2E2CA4
secondary
#BFC06B
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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