#2E2882#2E2882

#2E2882 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.145 H 278.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2E2882
RGBrgb(46, 40, 130)
HSLhsl(244, 53%, 33%)
HSVhsv(244, 69%, 51%)
CMYKcmyk(64.6%, 69.2%, 0%, 49%)
CIE-LABlab(22.69, 31.37, -49.80)
CIE-LCHlch(22.69, 58.85, 302.21°)
OKLaboklab(34.67% 0.0218 -0.1435)
OKLCHoklch(34.67% 0.145 278.6)
XYZxyz(5.9135, 3.7097, 21.5192)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2882 #7C8228
analogous
#284F82 #2E2882 #5B2882
triadic
#2E2882 #822E28 #28822E
tetradic
#2E2882 #82284F #7C8228 #28825B
square
#2E2882 #82284F #7C8228 #28825B
split-complementary
#2E2882 #825B28 #4F8228
monochromatic
#0D0B24 #1D1A53 #2E2882 #3F36B1 #6059CC

Accessibility & contrast

On white

12.06
#2E2882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2882
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2882#FFFFFF#000000##FFFFFF
##2E28821.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2882;
/* rgb */ color: rgb(46, 40, 130);
/* oklch */ color: oklch(34.7% 0.145 278.6);
Tailwind
colors: {
  custom: {
    50: '#7263a7',
    500: '#2e2882',
    950: '#000000',
  },
}
SCSS
$custom: #2e2882;
$custom-light: #7263a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2882",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 244,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.14519,
    "h": 278.6
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#2E2882
secondary
#ABB155
accent
#DC4BD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2882

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

Preview Lab → · Contrast checker → · Palette generator →

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