#2D4884#2D4884

#2D4884 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.106 H 264.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2D4884
RGBrgb(45, 72, 132)
HSLhsl(221, 49%, 35%)
HSVhsv(221, 66%, 52%)
CMYKcmyk(65.9%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.48, 10.40, -36.81)
CIE-LCHlch(31.48, 38.25, 285.77°)
OKLaboklab(41.28% -0.0109 -0.1051)
OKLCHoklch(41.28% 0.106 264.1)
XYZxyz(7.5630, 6.8579, 22.7505)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4884 #84692D
analogous
#2D7484 #2D4884 #3D2D84
triadic
#2D4884 #842D48 #48842D
tetradic
#2D4884 #842D74 #84692D #2D843D
square
#2D4884 #842D74 #84692D #2D843D
split-complementary
#2D4884 #843D2D #74842D
monochromatic
#0E1629 #1D2F56 #2D4884 #3D61B2 #6282C9

Accessibility & contrast

On white

8.85
#2D4884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4884
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4884#FFFFFF#000000##FFFFFF
##2D48841.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E86
Deuteranopia (green-blind)
#1E4683
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4884;
/* rgb */ color: rgb(45, 72, 132);
/* oklch */ color: oklch(41.3% 0.106 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f7aa8',
    500: '#2d4884',
    950: '#000000',
  },
}
SCSS
$custom: #2d4884;
$custom-light: #6f7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4884",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 221.379,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.10564,
    "h": 264.1
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#2D4884
secondary
#B0965D
accent
#AE4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4884

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

Preview Lab → · Contrast checker → · Palette generator →

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