#2E2A80#2E2A80

#2E2A80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.140 H 278.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2E2A80
RGBrgb(46, 42, 128)
HSLhsl(243, 51%, 33%)
HSVhsv(243, 67%, 50%)
CMYKcmyk(64.1%, 67.2%, 0%, 49.8%)
CIE-LABlab(22.98, 29.39, -48.05)
CIE-LCHlch(22.98, 56.33, 301.45°)
OKLaboklab(34.83% 0.0203 -0.1384)
OKLCHoklch(34.83% 0.14 278.3)
XYZxyz(5.8497, 3.7948, 20.8421)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A80 #7C802A
analogous
#2A5180 #2E2A80 #592A80
triadic
#2E2A80 #802E2A #2A802E
tetradic
#2E2A80 #802A51 #7C802A #2A8059
square
#2E2A80 #802A51 #7C802A #2A8059
split-complementary
#2E2A80 #80592A #51802A
monochromatic
#0D0C24 #1D1B52 #2E2A80 #3F39AE #605BC9

Accessibility & contrast

On white

11.94
#2E2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A80
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A80#FFFFFF#000000##FFFFFF
##2E2A801.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2a80;
/* rgb */ color: rgb(46, 42, 128);
/* oklch */ color: oklch(34.8% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#7164a6',
    500: '#2e2a80',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a80;
$custom-light: #7164a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a80",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 242.791,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.13991,
    "h": 278.3
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#2E2A80
secondary
#ABAF57
accent
#DA4ED4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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