#2E2890#2E2890

#2E2890 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.164 H 276.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2E2890
RGBrgb(46, 40, 144)
HSLhsl(243, 57%, 36%)
HSVhsv(243, 72%, 56%)
CMYKcmyk(68.1%, 72.2%, 0%, 43.5%)
CIE-LABlab(24.04, 36.19, -56.33)
CIE-LCHlch(24.04, 66.95, 302.72°)
OKLaboklab(36.05% 0.0196 -0.1627)
OKLCHoklch(36.05% 0.164 276.9)
XYZxyz(6.9179, 4.1114, 26.8092)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2890 #8A9028
analogous
#285690 #2E2890 #622890
triadic
#2E2890 #902E28 #28902E
tetradic
#2E2890 #902856 #8A9028 #289062
square
#2E2890 #902856 #8A9028 #289062
split-complementary
#2E2890 #906228 #569028
monochromatic
#0F0D30 #1F1B60 #2E2890 #3D35C0 #6660D3

Accessibility & contrast

On white

11.52
#2E2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2890
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2890#FFFFFF#000000##FFFFFF
##2E28901.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2890;
/* rgb */ color: rgb(46, 40, 144);
/* oklch */ color: oklch(36.1% 0.164 276.9);
Tailwind
colors: {
  custom: {
    50: '#7563b2',
    500: '#2e2890',
    950: '#000000',
  },
}
SCSS
$custom: #2e2890;
$custom-light: #7563b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2890",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 243.462,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.16383,
    "h": 276.9
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#2E2890
secondary
#B3B85C
accent
#E048D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E2890

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

Preview Lab → · Contrast checker → · Palette generator →

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