#2E2FAB#2E2FAB

#2E2FAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.191 H 273.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2E2FAB
RGBrgb(46, 47, 171)
HSLhsl(240, 58%, 43%)
HSVhsv(240, 73%, 67%)
CMYKcmyk(73.1%, 72.5%, 0%, 32.9%)
CIE-LABlab(28.26, 41.21, -65.84)
CIE-LCHlch(28.26, 77.68, 302.04°)
OKLaboklab(39.89% 0.0108 -0.1905)
OKLCHoklch(39.89% 0.191 273.2)
XYZxyz(9.4915, 5.5532, 39.0918)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FAB #ABAA2E
analogous
#2E6DAB #2E2FAB #6B2EAB
triadic
#2E2FAB #AB2E2F #2FAB2E
tetradic
#2E2FAB #AB2E6D #ABAA2E #2EAB6B
square
#2E2FAB #AB2E6D #ABAA2E #2EAB6B
split-complementary
#2E2FAB #AB6B2E #6DAB2E
monochromatic
#14144B #21227B #2E2FAB #4849CE #7979DB

Accessibility & contrast

On white

9.95
#2E2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E2FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FAB
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FAB#FFFFFF#000000##FFFFFF
##2E2FAB1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2fab;
/* rgb */ color: rgb(46, 47, 171);
/* oklch */ color: oklch(39.9% 0.191 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a69c5',
    500: '#2e2fab',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fab;
$custom-light: #7a69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fab",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 239.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.19077,
    "h": 273.2
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#2E2FAB
secondary
#C3C272
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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