#2E2990#2E2990

#2E2990 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.163 H 276.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2990
RGBrgb(46, 41, 144)
HSLhsl(243, 56%, 36%)
HSVhsv(243, 72%, 56%)
CMYKcmyk(68.1%, 71.5%, 0%, 43.5%)
CIE-LABlab(24.26, 35.58, -55.96)
CIE-LCHlch(24.26, 66.32, 302.45°)
OKLaboklab(36.21% 0.0189 -0.1616)
OKLCHoklch(36.21% 0.163 276.7)
XYZxyz(6.9521, 4.1797, 26.8206)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2990 #8B9029
analogous
#295890 #2E2990 #622990
triadic
#2E2990 #902E29 #29902E
tetradic
#2E2990 #902958 #8B9029 #299062
square
#2E2990 #902958 #8B9029 #299062
split-complementary
#2E2990 #906229 #589029
monochromatic
#100E31 #1F1B60 #2E2990 #3D37C0 #6761D2

Accessibility & contrast

On white

11.44
#2E2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2990
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2990#FFFFFF#000000##FFFFFF
##2E29901.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2990;
/* rgb */ color: rgb(46, 41, 144);
/* oklch */ color: oklch(36.2% 0.163 276.7);
Tailwind
colors: {
  custom: {
    50: '#7564b2',
    500: '#2e2990',
    950: '#000000',
  },
}
SCSS
$custom: #2e2990;
$custom-light: #7564b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2990",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 242.913,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36212,
    "c": 0.16271,
    "h": 276.7
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#2E2990
secondary
#B3B85D
accent
#DF49D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2990

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

Preview Lab → · Contrast checker → · Palette generator →

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