#2E2686#2E2686

#2E2686 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.153 H 278.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2686
RGBrgb(46, 38, 134)
HSLhsl(245, 56%, 34%)
HSVhsv(245, 72%, 53%)
CMYKcmyk(65.7%, 71.6%, 0%, 47.5%)
CIE-LABlab(22.61, 33.99, -52.43)
CIE-LCHlch(22.61, 62.49, 302.96°)
OKLaboklab(34.73% 0.0228 -0.1513)
OKLCHoklch(34.73% 0.153 278.6)
XYZxyz(6.1215, 3.6878, 22.9389)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2686 #7E8626
analogous
#264E86 #2E2686 #5E2686
triadic
#2E2686 #862E26 #26862E
tetradic
#2E2686 #86264E #7E8626 #26865E
square
#2E2686 #86264E #7E8626 #26865E
split-complementary
#2E2686 #865E26 #4E8626
monochromatic
#0D0B27 #1E1856 #2E2686 #3E34B6 #6157CF

Accessibility & contrast

On white

12.09
#2E2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2686
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2686#FFFFFF#000000##FFFFFF
##2E26861.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2686;
/* rgb */ color: rgb(46, 38, 134);
/* oklch */ color: oklch(34.7% 0.153 278.6);
Tailwind
colors: {
  custom: {
    50: '#7361aa',
    500: '#2e2686',
    950: '#000000',
  },
}
SCSS
$custom: #2e2686;
$custom-light: #7361aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2686",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 245,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.15298,
    "h": 278.6
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#2E2686
secondary
#ACB454
accent
#DF49D3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2686

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

Preview Lab → · Contrast checker → · Palette generator →

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