#2E2A86#2E2A86

#2E2A86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.148 H 277.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2E2A86
RGBrgb(46, 42, 134)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 69%, 53%)
CMYKcmyk(65.7%, 68.7%, 0%, 47.5%)
CIE-LABlab(23.53, 31.49, -50.93)
CIE-LCHlch(23.53, 59.88, 301.73°)
OKLaboklab(35.4% 0.0196 -0.1469)
OKLCHoklch(35.4% 0.148 277.6)
XYZxyz(6.2564, 3.9575, 22.9838)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A86 #82862A
analogous
#2A5486 #2E2A86 #5C2A86
triadic
#2E2A86 #862E2A #2A862E
tetradic
#2E2A86 #862A54 #82862A #2A865C
square
#2E2A86 #862A54 #82862A #2A865C
split-complementary
#2E2A86 #865C2A #54862A
monochromatic
#0E0D29 #1E1B57 #2E2A86 #3E39B5 #635ECD

Accessibility & contrast

On white

11.72
#2E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A86
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A86#FFFFFF#000000##FFFFFF
##2E2A861.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2a86;
/* rgb */ color: rgb(46, 42, 134);
/* oklch */ color: oklch(35.4% 0.148 277.6);
Tailwind
colors: {
  custom: {
    50: '#7264aa',
    500: '#2e2a86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a86;
$custom-light: #7264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a86",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 242.609,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35396,
    "c": 0.14817,
    "h": 277.6
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#2E2A86
secondary
#AEB25A
accent
#DC4CD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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