#2E2CA1#2E2CA1

#2E2CA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.181 H 274.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA1
RGBrgb(46, 44, 161)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 73%, 63%)
CMYKcmyk(71.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.61, 39.59, -62.52)
CIE-LCHlch(26.61, 74.00, 302.34°)
OKLaboklab(38.41% 0.0141 -0.1808)
OKLCHoklch(38.41% 0.181 274.5)
XYZxyz(8.4583, 4.9546, 34.2219)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA1 #9FA12C
analogous
#2C64A1 #2E2CA1 #692CA1
triadic
#2E2CA1 #A12E2C #2CA12E
tetradic
#2E2CA1 #A12C64 #9FA12C #2CA169
square
#2E2CA1 #A12C64 #9FA12C #2CA169
split-complementary
#2E2CA1 #A1692C #64A12C
monochromatic
#131241 #201F71 #2E2CA1 #4240CB #7170D8

Accessibility & contrast

On white

10.55
#2E2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA1
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA1#FFFFFF#000000##FFFFFF
##2E2CA11.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ca1;
/* rgb */ color: rgb(46, 44, 161);
/* oklch */ color: oklch(38.4% 0.181 274.5);
Tailwind
colors: {
  custom: {
    50: '#7866be',
    500: '#2e2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca1;
$custom-light: #7866be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca1",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 241.026,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.18132,
    "h": 274.5
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#2E2CA1
secondary
#BEBF6A
accent
#E047DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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