#2E2F84#2E2F84

#2E2F84 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.139 H 276.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2E2F84
RGBrgb(46, 47, 132)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 52%)
CMYKcmyk(65.2%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.57, 27.53, -47.97)
CIE-LCHlch(24.57, 55.31, 299.86°)
OKLaboklab(36.1% 0.0154 -0.1382)
OKLCHoklch(36.1% 0.139 276.4)
XYZxyz(6.3067, 4.2793, 22.3190)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F84 #84832E
analogous
#2E5A84 #2E2F84 #582E84
triadic
#2E2F84 #842E2F #2F842E
tetradic
#2E2F84 #842E5A #84832E #2E8458
square
#2E2F84 #842E5A #84832E #2E8458
split-complementary
#2E2F84 #84582E #5A842E
monochromatic
#0E0F29 #1E1F57 #2E2F84 #3E3FB1 #6465C9

Accessibility & contrast

On white

11.31
#2E2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F84
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F84#FFFFFF#000000##FFFFFF
##2E2F841.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2f84;
/* rgb */ color: rgb(46, 47, 132);
/* oklch */ color: oklch(36.1% 0.139 276.4);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2e2f84',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f84;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f84",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 239.302,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36101,
    "c": 0.13903,
    "h": 276.4
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#2E2F84
secondary
#B0AF5E
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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