#2E2D90#2E2D90

#2E2D90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.158 H 275.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2D90
RGBrgb(46, 45, 144)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(68.1%, 68.7%, 0%, 43.5%)
CIE-LABlab(25.17, 33.10, -54.46)
CIE-LCHlch(25.17, 63.73, 301.28°)
OKLaboklab(36.87% 0.016 -0.1572)
OKLCHoklch(36.87% 0.158 275.8)
XYZxyz(7.0975, 4.4706, 26.8690)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D90 #8F902D
analogous
#2D5E90 #2E2D90 #602D90
triadic
#2E2D90 #902E2D #2D902E
tetradic
#2E2D90 #902D5E #8F902D #2D9060
square
#2E2D90 #902D5E #8F902D #2D9060
split-complementary
#2E2D90 #90602D #5E902D
monochromatic
#101033 #1F1E61 #2E2D90 #3D3CBF #6968D0

Accessibility & contrast

On white

11.09
#2E2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D90
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D90#FFFFFF#000000##FFFFFF
##2E2D901.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2d90;
/* rgb */ color: rgb(46, 45, 144);
/* oklch */ color: oklch(36.9% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2e2d90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d90;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d90",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 240.606,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.15803,
    "h": 275.8
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#2E2D90
secondary
#B6B662
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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