#2D4382#2D4382

#2D4382 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.109 H 266.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2D4382
RGBrgb(45, 67, 130)
HSLhsl(224, 49%, 34%)
HSVhsv(224, 65%, 51%)
CMYKcmyk(65.4%, 48.5%, 0%, 49%)
CIE-LABlab(29.87, 13.03, -38.15)
CIE-LCHlch(29.87, 40.32, 288.86°)
OKLaboklab(40.01% -0.0058 -0.1091)
OKLCHoklch(40.01% 0.109 266.9)
XYZxyz(7.1172, 6.1833, 21.9332)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4382 #826C2D
analogous
#2D6E82 #2D4382 #422D82
triadic
#2D4382 #822D43 #43822D
tetradic
#2D4382 #822D6E #826C2D #2D8242
square
#2D4382 #822D6E #826C2D #2D8242
split-complementary
#2D4382 #82422D #6E822D
monochromatic
#0E1427 #1D2C55 #2D4382 #3D5AAF #617CC8

Accessibility & contrast

On white

9.39
#2D4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4382
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4382#FFFFFF#000000##FFFFFF
##2D43821.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4382;
/* rgb */ color: rgb(45, 67, 130);
/* oklch */ color: oklch(40.0% 0.109 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f76a7',
    500: '#2d4382',
    950: '#000000',
  },
}
SCSS
$custom: #2d4382;
$custom-light: #6f76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4382",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 224.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.10925,
    "h": 266.9
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#2D4382
secondary
#AF995C
accent
#B550D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4382

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

Preview Lab → · Contrast checker → · Palette generator →

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