#2E2E95#2E2E95

#2E2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.164 H 275.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E2E95
RGBrgb(46, 46, 149)
HSLhsl(240, 53%, 38%)
HSVhsv(240, 69%, 58%)
CMYKcmyk(69.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.87, 34.22, -56.39)
CIE-LCHlch(25.87, 65.96, 301.25°)
OKLaboklab(37.52% 0.0146 -0.1629)
OKLCHoklch(37.52% 0.164 275.1)
XYZxyz(7.5267, 4.7041, 28.9393)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E95 #95952E
analogous
#2E6195 #2E2E95 #612E95
triadic
#2E2E95 #952E2E #2E952E
tetradic
#2E2E95 #952E61 #95952E #2E9561
square
#2E2E95 #952E61 #95952E #2E9561
split-complementary
#2E2E95 #95612E #61952E
monochromatic
#111137 #202066 #2E2E95 #3D3DC3 #6C6CD2

Accessibility & contrast

On white

10.82
#2E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E95
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E95#FFFFFF#000000##FFFFFF
##2E2E951.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2e95;
/* rgb */ color: rgb(46, 46, 149);
/* oklch */ color: oklch(37.5% 0.164 275.1);
Tailwind
colors: {
  custom: {
    50: '#7567b5',
    500: '#2e2e95',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e95;
$custom-light: #7567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e95",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.16351,
    "h": 275.1
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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