#2D3384#2D3384

#2D3384 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.134 H 274.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2D3384
RGBrgb(45, 51, 132)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 66%, 52%)
CMYKcmyk(65.9%, 61.4%, 0%, 48.2%)
CIE-LABlab(25.54, 24.69, -46.40)
CIE-LCHlch(25.54, 52.57, 298.02°)
OKLaboklab(36.79% 0.0105 -0.1336)
OKLCHoklch(36.79% 0.134 274.5)
XYZxyz(6.4295, 4.5909, 22.3726)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3384 #847E2D
analogous
#2D5F84 #2D3384 #532D84
triadic
#2D3384 #842D33 #33842D
tetradic
#2D3384 #842D5F #847E2D #2D8453
square
#2D3384 #842D5F #847E2D #2D8453
split-complementary
#2D3384 #84532D #5F842D
monochromatic
#0E1029 #1D2156 #2D3384 #3D45B2 #6269C9

Accessibility & contrast

On white

10.95
#2D3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3384
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3384#FFFFFF#000000##FFFFFF
##2D33841.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3384;
/* rgb */ color: rgb(45, 51, 132);
/* oklch */ color: oklch(36.8% 0.134 274.5);
Tailwind
colors: {
  custom: {
    50: '#716aa8',
    500: '#2d3384',
    950: '#000000',
  },
}
SCSS
$custom: #2d3384;
$custom-light: #716aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3384",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 235.862,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.13398,
    "h": 274.5
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#2D3384
secondary
#B0AA5D
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3384

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

Preview Lab → · Contrast checker → · Palette generator →

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