#2E2A88#2E2A88

#2E2A88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.151 H 277.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2A88
RGBrgb(46, 42, 136)
HSLhsl(243, 53%, 35%)
HSVhsv(243, 69%, 53%)
CMYKcmyk(66.2%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.72, 32.19, -51.87)
CIE-LCHlch(23.72, 61.05, 301.82°)
OKLaboklab(35.59% 0.0193 -0.1496)
OKLCHoklch(35.59% 0.151 277.4)
XYZxyz(6.3972, 4.0138, 23.7254)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A88 #84882A
analogous
#2A5588 #2E2A88 #5D2A88
triadic
#2E2A88 #882E2A #2A882E
tetradic
#2E2A88 #882A55 #84882A #2A885D
square
#2E2A88 #882A55 #84882A #2A885D
split-complementary
#2E2A88 #885D2A #55882A
monochromatic
#0E0D2A #1E1C59 #2E2A88 #3E38B7 #645FCE

Accessibility & contrast

On white

11.65
#2E2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A88
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A88#FFFFFF#000000##FFFFFF
##2E2A881.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2a88;
/* rgb */ color: rgb(46, 42, 136);
/* oklch */ color: oklch(35.6% 0.151 277.4);
Tailwind
colors: {
  custom: {
    50: '#7364ac',
    500: '#2e2a88',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a88;
$custom-light: #7364ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a88",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 242.553,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.15088,
    "h": 277.4
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#2E2A88
secondary
#B0B35B
accent
#DC4CD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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