#2D4482#2D4482

#2D4482 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.108 H 266.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2D4482
RGBrgb(45, 68, 130)
HSLhsl(224, 49%, 34%)
HSVhsv(224, 65%, 51%)
CMYKcmyk(65.4%, 47.7%, 0%, 49%)
CIE-LABlab(30.16, 12.35, -37.68)
CIE-LCHlch(30.16, 39.65, 288.15°)
OKLaboklab(40.23% -0.0069 -0.1077)
OKLCHoklch(40.23% 0.108 266.3)
XYZxyz(7.1772, 6.3032, 21.9532)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4482 #826B2D
analogous
#2D6F82 #2D4482 #412D82
triadic
#2D4482 #822D44 #44822D
tetradic
#2D4482 #822D6F #826B2D #2D8241
square
#2D4482 #822D6F #826B2D #2D8241
split-complementary
#2D4482 #82412D #6F822D
monochromatic
#0E1427 #1D2C55 #2D4482 #3D5CAF #617DC8

Accessibility & contrast

On white

9.29
#2D4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4482
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4482#FFFFFF#000000##FFFFFF
##2D44821.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#174381
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4482;
/* rgb */ color: rgb(45, 68, 130);
/* oklch */ color: oklch(40.2% 0.108 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f77a7',
    500: '#2d4482',
    950: '#000000',
  },
}
SCSS
$custom: #2d4482;
$custom-light: #6f77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4482",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 223.765,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.10791,
    "h": 266.3
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#2D4482
secondary
#AF985C
accent
#B350D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4482

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

Preview Lab → · Contrast checker → · Palette generator →

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