#2E2E92#2E2E92

#2E2E92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.160 H 275.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2E92
RGBrgb(46, 46, 146)
HSLhsl(240, 52%, 38%)
HSVhsv(240, 68%, 57%)
CMYKcmyk(68.5%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.59, 33.17, -55.01)
CIE-LCHlch(25.59, 64.23, 301.09°)
OKLaboklab(37.23% 0.015 -0.1588)
OKLCHoklch(37.23% 0.16 275.4)
XYZxyz(7.2903, 4.6095, 27.6941)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E92 #92922E
analogous
#2E6092 #2E2E92 #602E92
triadic
#2E2E92 #922E2E #2E922E
tetradic
#2E2E92 #922E60 #92922E #2E9260
square
#2E2E92 #922E60 #92922E #2E9260
split-complementary
#2E2E92 #92602E #60922E
monochromatic
#111135 #1F1F63 #2E2E92 #3D3DC1 #6A6AD0

Accessibility & contrast

On white

10.93
#2E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E92
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E92#FFFFFF#000000##FFFFFF
##2E2E921.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2e92;
/* rgb */ color: rgb(46, 46, 146);
/* oklch */ color: oklch(37.2% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#7567b3',
    500: '#2e2e92',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e92;
$custom-light: #7567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e92",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.15951,
    "h": 275.4
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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