#2E2E89#2E2E89

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

Color values

HEX#2E2E89
RGBrgb(46, 46, 137)
HSLhsl(240, 50%, 36%)
HSVhsv(240, 66%, 54%)
CMYKcmyk(66.4%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.77, 29.98, -50.78)
CIE-LCHlch(24.77, 58.97, 300.56°)
OKLaboklab(36.38% 0.0159 -0.1464)
OKLCHoklch(36.38% 0.147 276.2)
XYZxyz(6.6176, 4.3404, 24.1511)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E89 #89892E
analogous
#2E5B89 #2E2E89 #5B2E89
triadic
#2E2E89 #892E2E #2E892E
tetradic
#2E2E89 #892E5B #89892E #2E895B
square
#2E2E89 #892E5B #89892E #2E895B
split-complementary
#2E2E89 #895B2E #5B892E
monochromatic
#0F0F2D #1F1F5B #2E2E89 #3D3DB7 #6666CC

Accessibility & contrast

On white

11.24
#2E2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E89
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E89#FFFFFF#000000##FFFFFF
##2E2E891.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2e89;
/* rgb */ color: rgb(46, 46, 137);
/* oklch */ color: oklch(36.4% 0.147 276.2);
Tailwind
colors: {
  custom: {
    50: '#7367ac',
    500: '#2e2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e89;
$custom-light: #7367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e89",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.14728,
    "h": 276.2
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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