#2E2095#2E2095

#2E2095 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.178 H 277.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2E2095
RGBrgb(46, 32, 149)
HSLhsl(247, 65%, 35%)
HSVhsv(247, 79%, 58%)
CMYKcmyk(69.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.94, 42.39, -61.22)
CIE-LCHlch(22.94, 74.47, 304.70°)
OKLaboklab(35.43% 0.0234 -0.1769)
OKLCHoklch(35.43% 0.178 277.5)
XYZxyz(7.0663, 3.7832, 28.7858)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2095 #879520
analogous
#204D95 #2E2095 #682095
triadic
#2E2095 #952E20 #20952E
tetradic
#2E2095 #95204D #879520 #209568
square
#2E2095 #95204D #879520 #209568
split-complementary
#2E2095 #956820 #4D9520
monochromatic
#0F0A30 #1E1563 #2E2095 #3E2BC7 #6555DA

Accessibility & contrast

On white

11.95
#2E2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2095
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2095#FFFFFF#000000##FFFFFF
##2E20951.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2095;
/* rgb */ color: rgb(46, 32, 149);
/* oklch */ color: oklch(35.4% 0.178 277.5);
Tailwind
colors: {
  custom: {
    50: '#775eb5',
    500: '#2e2095',
    950: '#000000',
  },
}
SCSS
$custom: #2e2095;
$custom-light: #775eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2095",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 247.179,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.17843,
    "h": 277.5
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2095

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

Preview Lab → · Contrast checker → · Palette generator →

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