#2D4986#2D4986

#2D4986 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.107 H 263.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2D4986
RGBrgb(45, 73, 134)
HSLhsl(221, 50%, 35%)
HSVhsv(221, 66%, 53%)
CMYKcmyk(66.4%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.91, 10.48, -37.37)
CIE-LCHlch(31.91, 38.81, 285.66°)
OKLaboklab(41.65% -0.0116 -0.1067)
OKLCHoklch(41.65% 0.107 263.8)
XYZxyz(7.7663, 7.0435, 23.4999)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4986 #866A2D
analogous
#2D7586 #2D4986 #3E2D86
triadic
#2D4986 #862D49 #49862D
tetradic
#2D4986 #862D75 #866A2D #2D863E
square
#2D4986 #862D75 #866A2D #2D863E
split-complementary
#2D4986 #863E2D #75862D
monochromatic
#0E172A #1E3058 #2D4986 #3C62B4 #6383CB

Accessibility & contrast

On white

8.72
#2D4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D4986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4986
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4986#FFFFFF#000000##FFFFFF
##2D49861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4986;
/* rgb */ color: rgb(45, 73, 134);
/* oklch */ color: oklch(41.6% 0.107 263.8);
Tailwind
colors: {
  custom: {
    50: '#707baa',
    500: '#2d4986',
    950: '#000000',
  },
}
SCSS
$custom: #2d4986;
$custom-light: #707baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4986",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 221.124,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.10733,
    "h": 263.8
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#2D4986
secondary
#B1975E
accent
#AE4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4986

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

Preview Lab → · Contrast checker → · Palette generator →

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