#2E2CA2#2E2CA2

#2E2CA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.183 H 274.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA2
RGBrgb(46, 44, 162)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(71.6%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.71, 39.93, -62.96)
CIE-LCHlch(26.71, 74.56, 302.38°)
OKLaboklab(38.51% 0.0139 -0.1821)
OKLCHoklch(38.51% 0.183 274.4)
XYZxyz(8.5468, 4.9900, 34.6882)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA2 #A0A22C
analogous
#2C65A2 #2E2CA2 #692CA2
triadic
#2E2CA2 #A22E2C #2CA22E
tetradic
#2E2CA2 #A22C65 #A0A22C #2CA269
square
#2E2CA2 #A22C65 #A0A22C #2CA269
split-complementary
#2E2CA2 #A2692C #65A22C
monochromatic
#131242 #201F72 #2E2CA2 #4240CB #7270D8

Accessibility & contrast

On white

10.51
#2E2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA2
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA2#FFFFFF#000000##FFFFFF
##2E2CA21.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ca2;
/* rgb */ color: rgb(46, 44, 162);
/* oklch */ color: oklch(38.5% 0.183 274.4);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2e2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca2;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca2",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 241.017,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.18259,
    "h": 274.4
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#2E2CA2
secondary
#BEBF6A
accent
#E147DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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