#2D3484#2D3484

#2D3484 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.133 H 274.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2D3484
RGBrgb(45, 52, 132)
HSLhsl(235, 49%, 35%)
HSVhsv(235, 66%, 52%)
CMYKcmyk(65.9%, 60.6%, 0%, 48.2%)
CIE-LABlab(25.80, 24.02, -45.97)
CIE-LCHlch(25.80, 51.87, 297.58°)
OKLaboklab(36.99% 0.0096 -0.1323)
OKLCHoklch(36.99% 0.133 274.1)
XYZxyz(6.4737, 4.6793, 22.3874)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3484 #847D2D
analogous
#2D6084 #2D3484 #512D84
triadic
#2D3484 #842D34 #34842D
tetradic
#2D3484 #842D60 #847D2D #2D8451
square
#2D3484 #842D60 #847D2D #2D8451
split-complementary
#2D3484 #84512D #60842D
monochromatic
#0E1029 #1D2256 #2D3484 #3D46B2 #626AC9

Accessibility & contrast

On white

10.85
#2D3484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D3484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3484
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3484#FFFFFF#000000##FFFFFF
##2D34841.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3484;
/* rgb */ color: rgb(45, 52, 132);
/* oklch */ color: oklch(37.0% 0.133 274.1);
Tailwind
colors: {
  custom: {
    50: '#716ba8',
    500: '#2d3484',
    950: '#000000',
  },
}
SCSS
$custom: #2d3484;
$custom-light: #716ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3484",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 132
  },
  "hsl": {
    "h": 235.172,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.13263,
    "h": 274.1
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#2D3484
secondary
#B0A95D
accent
#CE4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3484

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

Preview Lab → · Contrast checker → · Palette generator →

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