#2E2090#2E2090

#2E2090 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.172 H 278.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2090
RGBrgb(46, 32, 144)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 56%)
CMYKcmyk(68.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(22.40, 40.79, -59.03)
CIE-LCHlch(22.40, 71.75, 304.65°)
OKLaboklab(34.89% 0.0247 -0.1705)
OKLCHoklch(34.89% 0.172 278.2)
XYZxyz(6.6756, 3.6269, 26.7284)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2090 #829020
analogous
#204A90 #2E2090 #662090
triadic
#2E2090 #902E20 #20902E
tetradic
#2E2090 #90204A #829020 #209066
square
#2E2090 #90204A #829020 #209066
split-complementary
#2E2090 #906620 #4A9020
monochromatic
#0E0A2C #1E155E #2E2090 #3E2BC2 #6352D9

Accessibility & contrast

On white

12.17
#2E2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2090
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2090#FFFFFF#000000##FFFFFF
##2E20901.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2090;
/* rgb */ color: rgb(46, 32, 144);
/* oklch */ color: oklch(34.9% 0.172 278.2);
Tailwind
colors: {
  custom: {
    50: '#755eb2',
    500: '#2e2090',
    950: '#000000',
  },
}
SCSS
$custom: #2e2090;
$custom-light: #755eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2090",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 247.5,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.17227,
    "h": 278.2
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#2E2090
secondary
#AEBC50
accent
#E741D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E2090

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

Preview Lab → · Contrast checker → · Palette generator →

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