#2D3984#2D3984

#2D3984 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.126 H 272.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2D3984
RGBrgb(45, 57, 132)
HSLhsl(232, 49%, 35%)
HSVhsv(232, 66%, 52%)
CMYKcmyk(65.9%, 56.8%, 0%, 48.2%)
CIE-LABlab(27.16, 20.62, -43.77)
CIE-LCHlch(27.16, 48.39, 295.22°)
OKLaboklab(38% 0.0047 -0.1258)
OKLCHoklch(38% 0.126 272.2)
XYZxyz(6.7088, 5.1495, 22.4657)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3984 #84782D
analogous
#2D6584 #2D3984 #4C2D84
triadic
#2D3984 #842D39 #39842D
tetradic
#2D3984 #842D65 #84782D #2D844C
square
#2D3984 #842D65 #84782D #2D844C
split-complementary
#2D3984 #844C2D #65842D
monochromatic
#0E1229 #1D2556 #2D3984 #3D4DB2 #6270C9

Accessibility & contrast

On white

10.34
#2D3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3984
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3984#FFFFFF#000000##FFFFFF
##2D39841.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3984;
/* rgb */ color: rgb(45, 57, 132);
/* oklch */ color: oklch(38.0% 0.126 272.2);
Tailwind
colors: {
  custom: {
    50: '#706fa8',
    500: '#2d3984',
    950: '#000000',
  },
}
SCSS
$custom: #2d3984;
$custom-light: #706fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3984",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 231.724,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.12585,
    "h": 272.2
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#2D3984
secondary
#B0A45D
accent
#C64FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3984

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

Preview Lab → · Contrast checker → · Palette generator →

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