#2D3A84#2D3A84

#2D3A84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.124 H 271.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3A84
RGBrgb(45, 58, 132)
HSLhsl(231, 49%, 35%)
HSVhsv(231, 66%, 52%)
CMYKcmyk(65.9%, 56.1%, 0%, 48.2%)
CIE-LABlab(27.43, 19.93, -43.33)
CIE-LCHlch(27.43, 47.69, 294.71°)
OKLaboklab(38.21% 0.0037 -0.1244)
OKLCHoklch(38.21% 0.124 271.7)
XYZxyz(6.7587, 5.2494, 22.4824)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A84 #84772D
analogous
#2D6684 #2D3A84 #4B2D84
triadic
#2D3A84 #842D3A #3A842D
tetradic
#2D3A84 #842D66 #84772D #2D844B
square
#2D3A84 #842D66 #84772D #2D844B
split-complementary
#2D3A84 #844B2D #66842D
monochromatic
#0E1229 #1D2656 #2D3A84 #3D4EB2 #6271C9

Accessibility & contrast

On white

10.24
#2D3A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A84
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A84#FFFFFF#000000##FFFFFF
##2D3A841.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044587
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3a84;
/* rgb */ color: rgb(45, 58, 132);
/* oklch */ color: oklch(38.2% 0.124 271.7);
Tailwind
colors: {
  custom: {
    50: '#706fa8',
    500: '#2d3a84',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a84;
$custom-light: #706fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a84",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 231.034,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.12449,
    "h": 271.7
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#2D3A84
secondary
#B0A35D
accent
#C44FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3A84

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

Preview Lab → · Contrast checker → · Palette generator →

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