#2D3D84#2D3D84

#2D3D84 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.120 H 270.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2D3D84
RGBrgb(45, 61, 132)
HSLhsl(229, 49%, 35%)
HSVhsv(229, 66%, 52%)
CMYKcmyk(65.9%, 53.8%, 0%, 48.2%)
CIE-LABlab(28.28, 17.88, -41.96)
CIE-LCHlch(28.28, 45.61, 293.08°)
OKLaboklab(38.84% 0.0007 -0.1204)
OKLCHoklch(38.84% 0.12 270.3)
XYZxyz(6.9144, 5.5607, 22.5343)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D84 #84742D
analogous
#2D6884 #2D3D84 #492D84
triadic
#2D3D84 #842D3D #3D842D
tetradic
#2D3D84 #842D68 #84742D #2D8449
square
#2D3D84 #842D68 #84742D #2D8449
split-complementary
#2D3D84 #84492D #68842D
monochromatic
#0E1329 #1D2856 #2D3D84 #3D52B2 #6275C9

Accessibility & contrast

On white

9.94
#2D3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D84
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D84#FFFFFF#000000##FFFFFF
##2D3D841.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3d84;
/* rgb */ color: rgb(45, 61, 132);
/* oklch */ color: oklch(38.8% 0.120 270.3);
Tailwind
colors: {
  custom: {
    50: '#7072a8',
    500: '#2d3d84',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d84;
$custom-light: #7072a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d84",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 228.966,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.12038,
    "h": 270.3
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#2D3D84
secondary
#B0A15D
accent
#BF4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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