#2D4981#2D4981

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

Color values

HEX#2D4981
RGBrgb(45, 73, 129)
HSLhsl(220, 48%, 34%)
HSVhsv(220, 65%, 51%)
CMYKcmyk(65.1%, 43.4%, 0%, 49.4%)
CIE-LABlab(31.59, 8.60, -34.77)
CIE-LCHlch(31.59, 35.82, 283.89°)
OKLaboklab(41.31% -0.0126 -0.0991)
OKLCHoklch(41.31% 0.1 262.8)
XYZxyz(7.4258, 6.9073, 21.7065)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4981 #81652D
analogous
#2D7381 #2D4981 #3B2D81
triadic
#2D4981 #812D49 #49812D
tetradic
#2D4981 #812D73 #81652D #2D813B
square
#2D4981 #812D73 #81652D #2D813B
split-complementary
#2D4981 #813B2D #73812D
monochromatic
#0D1626 #1D2F54 #2D4981 #3D63AE #6183C8

Accessibility & contrast

On white

8.82
#2D4981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4981
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4981#FFFFFF#000000##FFFFFF
##2D49811.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E83
Deuteranopia (green-blind)
#234780
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4981;
/* rgb */ color: rgb(45, 73, 129);
/* oklch */ color: oklch(41.3% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ba6',
    500: '#2d4981',
    950: '#000000',
  },
}
SCSS
$custom: #2d4981;
$custom-light: #6f7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4981",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 220,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.09987,
    "h": 262.8
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#2D4981
secondary
#AE935C
accent
#AB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4981

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

Preview Lab → · Contrast checker → · Palette generator →

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