#2D2E84#2D2E84

#2D2E84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.141 H 276.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2D2E84
RGBrgb(45, 46, 132)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 52%)
CMYKcmyk(65.9%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.25, 28.03, -48.50)
CIE-LCHlch(24.25, 56.02, 300.03°)
OKLaboklab(35.84% 0.0151 -0.1398)
OKLCHoklch(35.84% 0.141 276.1)
XYZxyz(6.2227, 4.1773, 22.3037)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E84 #84832D
analogous
#2D5A84 #2D2E84 #572D84
triadic
#2D2E84 #842D2E #2E842D
tetradic
#2D2E84 #842D5A #84832D #2D8457
square
#2D2E84 #842D5A #84832D #2D8457
split-complementary
#2D2E84 #84572D #5A842D
monochromatic
#0E0E29 #1D1E56 #2D2E84 #3D3EB2 #6263C9

Accessibility & contrast

On white

11.44
#2D2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E84
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E84#FFFFFF#000000##FFFFFF
##2D2E841.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2e84;
/* rgb */ color: rgb(45, 46, 132);
/* oklch */ color: oklch(35.8% 0.141 276.1);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2d2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e84;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e84",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 239.31,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35844,
    "c": 0.14058,
    "h": 276.1
  },
  "luminance": 0.04178
}

Semantic roles & 50–950 ramp

primary
#2D2E84
secondary
#B0AF5D
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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