#2E2E88#2E2E88

#2E2E88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.146 H 276.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2E88
RGBrgb(46, 46, 136)
HSLhsl(240, 49%, 36%)
HSVhsv(240, 66%, 53%)
CMYKcmyk(66.2%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.68, 29.62, -50.30)
CIE-LCHlch(24.68, 58.38, 300.49°)
OKLaboklab(36.29% 0.016 -0.145)
OKLCHoklch(36.29% 0.146 276.3)
XYZxyz(6.5462, 4.3119, 23.7751)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E88 #88882E
analogous
#2E5B88 #2E2E88 #5B2E88
triadic
#2E2E88 #882E2E #2E882E
tetradic
#2E2E88 #882E5B #88882E #2E885B
square
#2E2E88 #882E5B #88882E #2E885B
split-complementary
#2E2E88 #885B2E #5B882E
monochromatic
#0F0F2D #1F1F5A #2E2E88 #3D3DB6 #6565CB

Accessibility & contrast

On white

11.28
#2E2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E88
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E88#FFFFFF#000000##FFFFFF
##2E2E881.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2e88;
/* rgb */ color: rgb(46, 46, 136);
/* oklch */ color: oklch(36.3% 0.146 276.3);
Tailwind
colors: {
  custom: {
    50: '#7267ac',
    500: '#2e2e88',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e88;
$custom-light: #7267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e88",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.1459,
    "h": 276.3
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2E2E88
secondary
#B2B260
accent
#D94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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