#2D4586#2D4586

#2D4586 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.113 H 266.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4586
RGBrgb(45, 69, 134)
HSLhsl(224, 50%, 35%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(66.4%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.72, 13.18, -39.27)
CIE-LCHlch(30.72, 41.42, 288.55°)
OKLaboklab(40.74% -0.0073 -0.1123)
OKLCHoklch(40.74% 0.113 266.3)
XYZxyz(7.5119, 6.5347, 23.4151)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4586 #866E2D
analogous
#2D7286 #2D4586 #412D86
triadic
#2D4586 #862D45 #45862D
tetradic
#2D4586 #862D72 #866E2D #2D8641
square
#2D4586 #862D72 #866E2D #2D8641
split-complementary
#2D4586 #86412D #72862D
monochromatic
#0E162A #1E2D58 #2D4586 #3C5DB4 #637FCB

Accessibility & contrast

On white

9.10
#2D4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4586
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4586#FFFFFF#000000##FFFFFF
##2D45861.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D88
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4586;
/* rgb */ color: rgb(45, 69, 134);
/* oklch */ color: oklch(40.7% 0.113 266.3);
Tailwind
colors: {
  custom: {
    50: '#7078aa',
    500: '#2d4586',
    950: '#000000',
  },
}
SCSS
$custom: #2d4586;
$custom-light: #7078aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4586",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 223.82,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.11257,
    "h": 266.3
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#2D4586
secondary
#B19B5E
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4586

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

Preview Lab → · Contrast checker → · Palette generator →

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