#2E2A82#2E2A82

#2E2A82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.143 H 278.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2A82
RGBrgb(46, 42, 130)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 68%, 51%)
CMYKcmyk(64.6%, 67.7%, 0%, 49%)
CIE-LABlab(23.16, 30.09, -49.02)
CIE-LCHlch(23.16, 57.52, 301.54°)
OKLaboklab(35.02% 0.02 -0.1413)
OKLCHoklch(35.02% 0.143 278.1)
XYZxyz(5.9826, 3.8480, 21.5422)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A82 #7E822A
analogous
#2A5282 #2E2A82 #5A2A82
triadic
#2E2A82 #822E2A #2A822E
tetradic
#2E2A82 #822A52 #7E822A #2A825A
square
#2E2A82 #822A52 #7E822A #2A825A
split-complementary
#2E2A82 #825A2A #52822A
monochromatic
#0D0C25 #1E1B54 #2E2A82 #3E39B0 #615CCA

Accessibility & contrast

On white

11.87
#2E2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A82
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A82#FFFFFF#000000##FFFFFF
##2E2A821.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2a82;
/* rgb */ color: rgb(46, 42, 130);
/* oklch */ color: oklch(35.0% 0.143 278.1);
Tailwind
colors: {
  custom: {
    50: '#7164a7',
    500: '#2e2a82',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a82;
$custom-light: #7164a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a82",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 242.727,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.14269,
    "h": 278.1
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#2E2A82
secondary
#ACB058
accent
#DB4DD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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