#2E2CAB#2E2CAB

#2E2CAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.194 H 273.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2CAB
RGBrgb(46, 44, 171)
HSLhsl(241, 59%, 42%)
HSVhsv(241, 74%, 67%)
CMYKcmyk(73.1%, 74.3%, 0%, 32.9%)
CIE-LABlab(27.63, 42.96, -66.87)
CIE-LCHlch(27.63, 79.48, 302.71°)
OKLaboklab(39.44% 0.0123 -0.1934)
OKLCHoklch(39.44% 0.194 273.6)
XYZxyz(9.3756, 5.3215, 39.0532)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CAB #A9AB2C
analogous
#2C6AAB #2E2CAB #6E2CAB
triadic
#2E2CAB #AB2E2C #2CAB2E
tetradic
#2E2CAB #AB2C6A #A9AB2C #2CAB6E
square
#2E2CAB #AB2C6A #A9AB2C #2CAB6E
split-complementary
#2E2CAB #AB6E2C #6AAB2C
monochromatic
#14134A #211F7A #2E2CAB #4745CF #7776DC

Accessibility & contrast

On white

10.17
#2E2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CAB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CAB#FFFFFF#000000##FFFFFF
##2E2CAB1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2cab;
/* rgb */ color: rgb(46, 44, 171);
/* oklch */ color: oklch(39.4% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b67c5',
    500: '#2e2cab',
    950: '#000000',
  },
}
SCSS
$custom: #2e2cab;
$custom-light: #7b67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2cab",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 240.945,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.19384,
    "h": 273.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#2E2CAB
secondary
#C2C36F
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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