#2E2185#2E2185

#2E2185 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.157 H 279.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2185
RGBrgb(46, 33, 133)
HSLhsl(248, 60%, 33%)
HSVhsv(248, 75%, 52%)
CMYKcmyk(65.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(21.44, 36.64, -53.74)
CIE-LCHlch(21.44, 65.04, 304.29°)
OKLaboklab(33.87% 0.0267 -0.1551)
OKLCHoklch(33.87% 0.157 279.8)
XYZxyz(5.9029, 3.3616, 22.5235)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2185 #788521
analogous
#214685 #2E2185 #602185
triadic
#2E2185 #852E21 #21852E
tetradic
#2E2185 #852146 #788521 #218560
square
#2E2185 #852146 #788521 #218560
split-complementary
#2E2185 #856021 #468521
monochromatic
#0C0923 #1D1554 #2E2185 #3F2DB6 #5F4DD3

Accessibility & contrast

On white

12.56
#2E2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2185
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2185#FFFFFF#000000##FFFFFF
##2E21851.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2185;
/* rgb */ color: rgb(46, 33, 133);
/* oklch */ color: oklch(33.9% 0.157 279.8);
Tailwind
colors: {
  custom: {
    50: '#735eaa',
    500: '#2e2185',
    950: '#000000',
  },
}
SCSS
$custom: #2e2185;
$custom-light: #735eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2185",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 247.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.15735,
    "h": 279.8
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#2E2185
secondary
#A8B64C
accent
#E344CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2185

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

Preview Lab → · Contrast checker → · Palette generator →

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