#2D3E84#2D3E84

#2D3E84 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.1% C 0.119 H 269.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2D3E84
RGBrgb(45, 62, 132)
HSLhsl(228, 49%, 35%)
HSVhsv(228, 66%, 52%)
CMYKcmyk(65.9%, 53%, 0%, 48.2%)
CIE-LABlab(28.56, 17.20, -41.51)
CIE-LCHlch(28.56, 44.93, 292.51°)
OKLaboklab(39.06% -0.0003 -0.119)
OKLCHoklch(39.06% 0.119 269.9)
XYZxyz(6.9683, 5.6685, 22.5522)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E84 #84732D
analogous
#2D6A84 #2D3E84 #482D84
triadic
#2D3E84 #842D3E #3E842D
tetradic
#2D3E84 #842D6A #84732D #2D8448
square
#2D3E84 #842D6A #84732D #2D8448
split-complementary
#2D3E84 #84482D #6A842D
monochromatic
#0E1329 #1D2956 #2D3E84 #3D53B2 #6276C9

Accessibility & contrast

On white

9.84
#2D3E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D3E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E84
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E84#FFFFFF#000000##FFFFFF
##2D3E841.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3e84;
/* rgb */ color: rgb(45, 62, 132);
/* oklch */ color: oklch(39.1% 0.119 269.9);
Tailwind
colors: {
  custom: {
    50: '#7072a8',
    500: '#2d3e84',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e84;
$custom-light: #7072a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e84",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 132
  },
  "hsl": {
    "h": 228.276,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.11902,
    "h": 269.9
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#2D3E84
secondary
#B0A05D
accent
#BE4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D3E84

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

Preview Lab → · Contrast checker → · Palette generator →

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