#2D4982#2D4982

#2D4982 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.101 H 263.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2D4982
RGBrgb(45, 73, 130)
HSLhsl(220, 49%, 34%)
HSVhsv(220, 65%, 51%)
CMYKcmyk(65.4%, 43.8%, 0%, 49%)
CIE-LABlab(31.66, 8.97, -35.30)
CIE-LCHlch(31.66, 36.42, 284.26°)
OKLaboklab(41.38% -0.0124 -0.1006)
OKLCHoklch(41.38% 0.101 263)
XYZxyz(7.4926, 6.9340, 22.0583)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4982 #82662D
analogous
#2D7482 #2D4982 #3C2D82
triadic
#2D4982 #822D49 #49822D
tetradic
#2D4982 #822D74 #82662D #2D823C
square
#2D4982 #822D74 #82662D #2D823C
split-complementary
#2D4982 #823C2D #74822D
monochromatic
#0E1627 #1D2F55 #2D4982 #3D63AF #6183C8

Accessibility & contrast

On white

8.80
#2D4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4982
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4982#FFFFFF#000000##FFFFFF
##2D49821.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4982;
/* rgb */ color: rgb(45, 73, 130);
/* oklch */ color: oklch(41.4% 0.101 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ba7',
    500: '#2d4982',
    950: '#000000',
  },
}
SCSS
$custom: #2d4982;
$custom-light: #6f7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4982",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 220.235,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.10137,
    "h": 263
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4982

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

Preview Lab → · Contrast checker → · Palette generator →

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