#2E2A89#2E2A89

#2E2A89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.152 H 277.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2A89
RGBrgb(46, 42, 137)
HSLhsl(243, 53%, 35%)
HSVhsv(243, 69%, 54%)
CMYKcmyk(66.4%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.81, 32.54, -52.34)
CIE-LCHlch(23.81, 61.63, 301.87°)
OKLaboklab(35.69% 0.0192 -0.151)
OKLCHoklch(35.69% 0.152 277.2)
XYZxyz(6.4686, 4.0424, 24.1014)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A89 #85892A
analogous
#2A5689 #2E2A89 #5D2A89
triadic
#2E2A89 #892E2A #2A892E
tetradic
#2E2A89 #892A56 #85892A #2A895D
square
#2E2A89 #892A56 #85892A #2A895D
split-complementary
#2E2A89 #895D2A #56892A
monochromatic
#0F0D2B #1E1C5A #2E2A89 #3E38B8 #645FCE

Accessibility & contrast

On white

11.61
#2E2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A89
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A89#FFFFFF#000000##FFFFFF
##2E2A891.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2a89;
/* rgb */ color: rgb(46, 42, 137);
/* oklch */ color: oklch(35.7% 0.152 277.2);
Tailwind
colors: {
  custom: {
    50: '#7364ac',
    500: '#2e2a89',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a89;
$custom-light: #7364ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a89",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 242.526,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.15222,
    "h": 277.2
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#2E2A89
secondary
#B0B45B
accent
#DC4BD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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