#2E2286#2E2286

#2E2286 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.158 H 279.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2E2286
RGBrgb(46, 34, 134)
HSLhsl(247, 60%, 33%)
HSVhsv(247, 75%, 53%)
CMYKcmyk(65.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(21.75, 36.39, -53.85)
CIE-LCHlch(21.75, 65.00, 304.05°)
OKLaboklab(34.12% 0.0257 -0.1554)
OKLCHoklch(34.12% 0.158 279.4)
XYZxyz(6.0004, 3.4457, 22.8985)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2286 #7A8622
analogous
#224886 #2E2286 #602286
triadic
#2E2286 #862E22 #22862E
tetradic
#2E2286 #862248 #7A8622 #228660
square
#2E2286 #862248 #7A8622 #228660
split-complementary
#2E2286 #866022 #488622
monochromatic
#0C0924 #1D1655 #2E2286 #3F2EB7 #6050D3

Accessibility & contrast

On white

12.43
#2E2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2286
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2286#FFFFFF#000000##FFFFFF
##2E22861.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2286;
/* rgb */ color: rgb(46, 34, 134);
/* oklch */ color: oklch(34.1% 0.158 279.4);
Tailwind
colors: {
  custom: {
    50: '#735faa',
    500: '#2e2286',
    950: '#000000',
  },
}
SCSS
$custom: #2e2286;
$custom-light: #735faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2286",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 247.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.15754,
    "h": 279.4
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#2E2286
secondary
#AAB64E
accent
#E345D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2286

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

Preview Lab → · Contrast checker → · Palette generator →

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