#2E2B90#2E2B90

#2E2B90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.160 H 276.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2E2B90
RGBrgb(46, 43, 144)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 56%)
CMYKcmyk(68.1%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.71, 34.35, -55.22)
CIE-LCHlch(24.71, 65.03, 301.88°)
OKLaboklab(36.54% 0.0174 -0.1594)
OKLCHoklch(36.54% 0.16 276.2)
XYZxyz(7.0230, 4.3216, 26.8442)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B90 #8D902B
analogous
#2B5B90 #2E2B90 #612B90
triadic
#2E2B90 #902E2B #2B902E
tetradic
#2E2B90 #902B5B #8D902B #2B9061
square
#2E2B90 #902B5B #8D902B #2B9061
split-complementary
#2E2B90 #90612B #5B902B
monochromatic
#100F32 #1F1D61 #2E2B90 #3D39BF #6865D1

Accessibility & contrast

On white

11.26
#2E2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B90
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B90#FFFFFF#000000##FFFFFF
##2E2B901.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2b90;
/* rgb */ color: rgb(46, 43, 144);
/* oklch */ color: oklch(36.5% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#7465b1',
    500: '#2e2b90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b90;
$custom-light: #7465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b90",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 241.782,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.16039,
    "h": 276.2
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2E2B90
secondary
#B5B760
accent
#DD4AD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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