#2D4381#2D4381

#2D4381 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.108 H 266.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2D4381
RGBrgb(45, 67, 129)
HSLhsl(224, 48%, 34%)
HSVhsv(224, 65%, 51%)
CMYKcmyk(65.1%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.80, 12.65, -37.64)
CIE-LCHlch(29.80, 39.71, 288.58°)
OKLaboklab(39.93% -0.006 -0.1076)
OKLCHoklch(39.93% 0.108 266.8)
XYZxyz(7.0504, 6.1566, 21.5814)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4381 #816B2D
analogous
#2D6D81 #2D4381 #412D81
triadic
#2D4381 #812D43 #43812D
tetradic
#2D4381 #812D6D #816B2D #2D8141
square
#2D4381 #812D6D #816B2D #2D8141
split-complementary
#2D4381 #81412D #6D812D
monochromatic
#0D1426 #1D2B54 #2D4381 #3D5BAE #617CC8

Accessibility & contrast

On white

9.41
#2D4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4381
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4381#FFFFFF#000000##FFFFFF
##2D43811.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#164380
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4381;
/* rgb */ color: rgb(45, 67, 129);
/* oklch */ color: oklch(39.9% 0.108 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f76a6',
    500: '#2d4381',
    950: '#000000',
  },
}
SCSS
$custom: #2d4381;
$custom-light: #6f76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4381",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 224.286,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.10774,
    "h": 266.8
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#2D4381
secondary
#AE995C
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4381

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

Preview Lab → · Contrast checker → · Palette generator →

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