#2D2E85#2D2E85

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

Color values

HEX#2D2E85
RGBrgb(45, 46, 133)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 52%)
CMYKcmyk(66.2%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.34, 28.39, -48.98)
CIE-LCHlch(24.34, 56.62, 300.10°)
OKLaboklab(35.94% 0.015 -0.1412)
OKLCHoklch(35.94% 0.142 276.1)
XYZxyz(6.2914, 4.2048, 22.6658)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E85 #85842D
analogous
#2D5A85 #2D2E85 #582D85
triadic
#2D2E85 #852D2E #2E852D
tetradic
#2D2E85 #852D5A #85842D #2D8558
square
#2D2E85 #852D5A #85842D #2D8558
split-complementary
#2D2E85 #85582D #5A852D
monochromatic
#0E0E2A #1E1E57 #2D2E85 #3C3EB3 #6264CA

Accessibility & contrast

On white

11.41
#2D2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E85
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E85#FFFFFF#000000##FFFFFF
##2D2E851.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2e85;
/* rgb */ color: rgb(45, 46, 133);
/* oklch */ color: oklch(35.9% 0.142 276.1);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e85;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e85",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 239.318,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.14197,
    "h": 276.1
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#2D2E85
secondary
#B0B05D
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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