#2E2CA0#2E2CA0

#2E2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.180 H 274.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA0
RGBrgb(46, 44, 160)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 73%, 63%)
CMYKcmyk(71.2%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.50, 39.25, -62.08)
CIE-LCHlch(26.50, 73.45, 302.30°)
OKLaboklab(38.3% 0.0143 -0.1795)
OKLCHoklch(38.3% 0.18 274.5)
XYZxyz(8.3705, 4.9195, 33.7593)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA0 #9EA02C
analogous
#2C64A0 #2E2CA0 #682CA0
triadic
#2E2CA0 #A02E2C #2CA02E
tetradic
#2E2CA0 #A02C64 #9EA02C #2CA068
square
#2E2CA0 #A02C64 #9EA02C #2CA068
split-complementary
#2E2CA0 #A0682C #64A02C
monochromatic
#121240 #201F70 #2E2CA0 #413FCA #716FD7

Accessibility & contrast

On white

10.58
#2E2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA0#FFFFFF#000000##FFFFFF
##2E2CA01.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2ca0;
/* rgb */ color: rgb(46, 44, 160);
/* oklch */ color: oklch(38.3% 0.180 274.5);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2e2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca0",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 241.034,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.18006,
    "h": 274.5
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#2E2CA0
secondary
#BDBF69
accent
#E048DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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