#2D3684#2D3684

#2D3684 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.130 H 273.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2D3684
RGBrgb(45, 54, 132)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 66%, 52%)
CMYKcmyk(65.9%, 59.1%, 0%, 48.2%)
CIE-LABlab(26.34, 22.66, -45.10)
CIE-LCHlch(26.34, 50.48, 296.68°)
OKLaboklab(37.39% 0.0077 -0.1297)
OKLCHoklch(37.39% 0.13 273.4)
XYZxyz(6.5648, 4.8616, 22.4177)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3684 #847B2D
analogous
#2D6284 #2D3684 #502D84
triadic
#2D3684 #842D36 #36842D
tetradic
#2D3684 #842D62 #847B2D #2D8450
square
#2D3684 #842D62 #847B2D #2D8450
split-complementary
#2D3684 #84502D #62842D
monochromatic
#0E1129 #1D2356 #2D3684 #3D49B2 #626DC9

Accessibility & contrast

On white

10.65
#2D3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3684
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3684#FFFFFF#000000##FFFFFF
##2D36841.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3684;
/* rgb */ color: rgb(45, 54, 132);
/* oklch */ color: oklch(37.4% 0.130 273.4);
Tailwind
colors: {
  custom: {
    50: '#706ca8',
    500: '#2d3684',
    950: '#000000',
  },
}
SCSS
$custom: #2d3684;
$custom-light: #706ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3684",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 233.793,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.12994,
    "h": 273.4
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#2D3684
secondary
#B0A75D
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3684

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

Preview Lab → · Contrast checker → · Palette generator →

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