#2E2097#2E2097

#2E2097 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.181 H 277.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2097
RGBrgb(46, 32, 151)
HSLhsl(247, 65%, 36%)
HSVhsv(247, 79%, 59%)
CMYKcmyk(69.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(23.16, 43.03, -62.09)
CIE-LCHlch(23.16, 75.54, 304.72°)
OKLaboklab(35.65% 0.0229 -0.1794)
OKLCHoklch(35.65% 0.181 277.3)
XYZxyz(7.2273, 3.8476, 29.6339)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2097 #899720
analogous
#204D97 #2E2097 #692097
triadic
#2E2097 #972E20 #20972E
tetradic
#2E2097 #97204D #899720 #209769
square
#2E2097 #97204D #899720 #209769
split-complementary
#2E2097 #976920 #4D9720
monochromatic
#0F0B32 #1F1564 #2E2097 #3D2BC9 #6656DB

Accessibility & contrast

On white

11.87
#2E2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2097
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2097#FFFFFF#000000##FFFFFF
##2E20971.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2097;
/* rgb */ color: rgb(46, 32, 151);
/* oklch */ color: oklch(35.7% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#775fb7',
    500: '#2e2097',
    950: '#000000',
  },
}
SCSS
$custom: #2e2097;
$custom-light: #775fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2097",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 247.059,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.18087,
    "h": 277.3
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#2E2097
secondary
#B2BF54
accent
#E840D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2097

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

Preview Lab → · Contrast checker → · Palette generator →

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