#2E2D88#2E2D88

#2E2D88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.147 H 276.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2E2D88
RGBrgb(46, 45, 136)
HSLhsl(241, 50%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(66.2%, 66.9%, 0%, 46.7%)
CIE-LABlab(24.43, 30.27, -50.70)
CIE-LCHlch(24.43, 59.05, 300.84°)
OKLaboklab(36.11% 0.0169 -0.1462)
OKLCHoklch(36.11% 0.147 276.6)
XYZxyz(6.5076, 4.2346, 23.7622)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D88 #87882D
analogous
#2D5A88 #2E2D88 #5B2D88
triadic
#2E2D88 #882E2D #2D882E
tetradic
#2E2D88 #882D5A #87882D #2D885B
square
#2E2D88 #882D5A #87882D #2D885B
split-complementary
#2E2D88 #885B2D #5A882D
monochromatic
#0F0F2C #1E1E5A #2E2D88 #3E3CB6 #6564CC

Accessibility & contrast

On white

11.37
#2E2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D88
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D88#FFFFFF#000000##FFFFFF
##2E2D881.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2d88;
/* rgb */ color: rgb(46, 45, 136);
/* oklch */ color: oklch(36.1% 0.147 276.6);
Tailwind
colors: {
  custom: {
    50: '#7266ac',
    500: '#2e2d88',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d88;
$custom-light: #7266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d88",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 240.659,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.14717,
    "h": 276.6
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#2E2D88
secondary
#B1B25F
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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