#2E2E93#2E2E93

#2E2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.161 H 275.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2E2E93
RGBrgb(46, 46, 147)
HSLhsl(240, 52%, 38%)
HSVhsv(240, 69%, 58%)
CMYKcmyk(68.7%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.69, 33.52, -55.47)
CIE-LCHlch(25.69, 64.81, 301.14°)
OKLaboklab(37.33% 0.0149 -0.1602)
OKLCHoklch(37.33% 0.161 275.3)
XYZxyz(7.3684, 4.6408, 28.1055)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E93 #93932E
analogous
#2E6093 #2E2E93 #602E93
triadic
#2E2E93 #932E2E #2E932E
tetradic
#2E2E93 #932E60 #93932E #2E9360
square
#2E2E93 #932E60 #93932E #2E9360
split-complementary
#2E2E93 #93602E #60932E
monochromatic
#111136 #1F1F64 #2E2E93 #3D3DC2 #6B6BD1

Accessibility & contrast

On white

10.89
#2E2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E93
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E93#FFFFFF#000000##FFFFFF
##2E2E931.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2e93;
/* rgb */ color: rgb(46, 46, 147);
/* oklch */ color: oklch(37.3% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2e2e93',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e93;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e93",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.16086,
    "h": 275.3
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#2E2E93
secondary
#B8B865
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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