#2E2086#2E2086

#2E2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.160 H 279.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2E2086
RGBrgb(46, 32, 134)
HSLhsl(248, 61%, 33%)
HSVhsv(248, 76%, 53%)
CMYKcmyk(65.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(21.34, 37.54, -54.53)
CIE-LCHlch(21.34, 66.20, 304.54°)
OKLaboklab(33.83% 0.0271 -0.1574)
OKLCHoklch(33.83% 0.16 279.8)
XYZxyz(5.9449, 3.3346, 22.8800)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2086 #788620
analogous
#204586 #2E2086 #612086
triadic
#2E2086 #862E20 #20862E
tetradic
#2E2086 #862045 #788620 #208661
square
#2E2086 #862045 #788620 #208661
split-complementary
#2E2086 #866120 #458620
monochromatic
#0C0823 #1D1455 #2E2086 #3F2CB7 #5F4CD4

Accessibility & contrast

On white

12.60
#2E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2086
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2086#FFFFFF#000000##FFFFFF
##2E20861.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2086;
/* rgb */ color: rgb(46, 32, 134);
/* oklch */ color: oklch(33.8% 0.160 279.8);
Tailwind
colors: {
  custom: {
    50: '#735eaa',
    500: '#2e2086',
    950: '#000000',
  },
}
SCSS
$custom: #2e2086;
$custom-light: #735eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2086",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 248.235,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33827,
    "c": 0.1597,
    "h": 279.8
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#2E2086
secondary
#A8B74B
accent
#E543CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2086

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

Preview Lab → · Contrast checker → · Palette generator →

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