#2D4A84#2D4A84

#2D4A84 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.103 H 262.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2D4A84
RGBrgb(45, 74, 132)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 66%, 52%)
CMYKcmyk(65.9%, 43.9%, 0%, 48.2%)
CIE-LABlab(32.08, 9.05, -35.86)
CIE-LCHlch(32.08, 36.98, 284.17°)
OKLaboklab(41.74% -0.013 -0.1022)
OKLCHoklch(41.74% 0.103 262.7)
XYZxyz(7.6944, 7.1207, 22.7943)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A84 #84672D
analogous
#2D7684 #2D4A84 #3B2D84
triadic
#2D4A84 #842D4A #4A842D
tetradic
#2D4A84 #842D76 #84672D #2D843B
square
#2D4A84 #842D76 #84672D #2D843B
split-complementary
#2D4A84 #843B2D #76842D
monochromatic
#0E1729 #1D3056 #2D4A84 #3D64B2 #6284C9

Accessibility & contrast

On white

8.66
#2D4A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D4A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A84
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A84#FFFFFF#000000##FFFFFF
##2D4A841.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4a84;
/* rgb */ color: rgb(45, 74, 132);
/* oklch */ color: oklch(41.7% 0.103 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f7ca8',
    500: '#2d4a84',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a84;
$custom-light: #6f7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a84",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 132
  },
  "hsl": {
    "h": 220,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.10307,
    "h": 262.7
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#2D4A84
secondary
#B0945D
accent
#AB4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4A84

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

Preview Lab → · Contrast checker → · Palette generator →

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