#2D2E86#2D2E86

#2D2E86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.143 H 276.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2D2E86
RGBrgb(45, 46, 134)
HSLhsl(239, 50%, 35%)
HSVhsv(239, 66%, 53%)
CMYKcmyk(66.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.43, 28.75, -49.47)
CIE-LCHlch(24.43, 57.21, 300.17°)
OKLaboklab(36.03% 0.0149 -0.1426)
OKLCHoklch(36.03% 0.143 276)
XYZxyz(6.3609, 4.2326, 23.0314)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E86 #86852D
analogous
#2D5A86 #2D2E86 #592D86
triadic
#2D2E86 #862D2E #2E862D
tetradic
#2D2E86 #862D5A #86852D #2D8659
square
#2D2E86 #862D5A #86852D #2D8659
split-complementary
#2D2E86 #86592D #5A862D
monochromatic
#0E0F2A #1E1E58 #2D2E86 #3C3EB4 #6364CB

Accessibility & contrast

On white

11.37
#2D2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E86
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E86#FFFFFF#000000##FFFFFF
##2D2E861.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2e86;
/* rgb */ color: rgb(45, 46, 134);
/* oklch */ color: oklch(36.0% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#7167aa',
    500: '#2d2e86',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e86;
$custom-light: #7167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e86",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 239.326,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.14337,
    "h": 276
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#2D2E86
secondary
#B1B05E
accent
#D84FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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