#2D4882#2D4882

#2D4882 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.103 H 263.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D4882
RGBrgb(45, 72, 130)
HSLhsl(221, 49%, 34%)
HSVhsv(221, 65%, 51%)
CMYKcmyk(65.4%, 44.6%, 0%, 49%)
CIE-LABlab(31.36, 9.65, -35.78)
CIE-LCHlch(31.36, 37.05, 285.09°)
OKLaboklab(41.15% -0.0113 -0.102)
OKLCHoklch(41.15% 0.103 263.7)
XYZxyz(7.4274, 6.8036, 22.0366)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4882 #82672D
analogous
#2D7382 #2D4882 #3D2D82
triadic
#2D4882 #822D48 #48822D
tetradic
#2D4882 #822D73 #82672D #2D823D
square
#2D4882 #822D73 #82672D #2D823D
split-complementary
#2D4882 #823D2D #73822D
monochromatic
#0E1627 #1D2F55 #2D4882 #3D61AF #6182C8

Accessibility & contrast

On white

8.90
#2D4882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D4882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4882
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4882#FFFFFF#000000##FFFFFF
##2D48821.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#204681
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4882;
/* rgb */ color: rgb(45, 72, 130);
/* oklch */ color: oklch(41.1% 0.103 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f7aa7',
    500: '#2d4882',
    950: '#000000',
  },
}
SCSS
$custom: #2d4882;
$custom-light: #6f7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4882",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 220.941,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.10265,
    "h": 263.7
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#2D4882
secondary
#AF945C
accent
#AD50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4882

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

Preview Lab → · Contrast checker → · Palette generator →

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