#2E2195#2E2195

#2E2195 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.177 H 277.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2195
RGBrgb(46, 33, 149)
HSLhsl(247, 64%, 36%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(69.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(23.13, 41.86, -60.91)
CIE-LCHlch(23.13, 73.91, 304.50°)
OKLaboklab(35.57% 0.0229 -0.176)
OKLCHoklch(35.57% 0.177 277.4)
XYZxyz(7.0936, 3.8379, 28.7949)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2195 #889521
analogous
#214E95 #2E2195 #682195
triadic
#2E2195 #952E21 #21952E
tetradic
#2E2195 #95214E #889521 #219568
square
#2E2195 #95214E #889521 #219568
split-complementary
#2E2195 #956821 #4E9521
monochromatic
#0F0B31 #1F1663 #2E2195 #3D2CC7 #6557DA

Accessibility & contrast

On white

11.88
#2E2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2195
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2195#FFFFFF#000000##FFFFFF
##2E21951.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2195;
/* rgb */ color: rgb(46, 33, 149);
/* oklch */ color: oklch(35.6% 0.177 277.4);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2e2195',
    950: '#000000',
  },
}
SCSS
$custom: #2e2195;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2195",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 246.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.17748,
    "h": 277.4
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#2E2195
secondary
#B2BE54
accent
#E741D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2195

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

Preview Lab → · Contrast checker → · Palette generator →

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