#2E2E86#2E2E86

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

Color values

HEX#2E2E86
RGBrgb(46, 46, 134)
HSLhsl(240, 49%, 35%)
HSVhsv(240, 66%, 53%)
CMYKcmyk(65.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.50, 28.91, -49.34)
CIE-LCHlch(24.50, 57.19, 300.36°)
OKLaboklab(36.1% 0.0162 -0.1422)
OKLCHoklch(36.1% 0.143 276.5)
XYZxyz(6.4054, 4.2555, 23.0335)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E86 #86862E
analogous
#2E5A86 #2E2E86 #5A2E86
triadic
#2E2E86 #862E2E #2E862E
tetradic
#2E2E86 #862E5A #86862E #2E865A
square
#2E2E86 #862E5A #86862E #2E865A
split-complementary
#2E2E86 #865A2E #5A862E
monochromatic
#0F0F2B #1E1E58 #2E2E86 #3E3EB4 #6464CA

Accessibility & contrast

On white

11.34
#2E2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E86
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E86#FFFFFF#000000##FFFFFF
##2E2E861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2e86;
/* rgb */ color: rgb(46, 46, 134);
/* oklch */ color: oklch(36.1% 0.143 276.5);
Tailwind
colors: {
  custom: {
    50: '#7267aa',
    500: '#2e2e86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e86;
$custom-light: #7267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e86",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36101,
    "c": 0.14313,
    "h": 276.5
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#2E2E86
secondary
#B1B15F
accent
#D84FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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