#2D4C7D#2D4C7D

#2D4C7D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.090 H 259.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D4C7D
RGBrgb(45, 76, 125)
HSLhsl(217, 47%, 33%)
HSVhsv(217, 64%, 49%)
CMYKcmyk(64%, 39.2%, 0%, 51%)
CIE-LABlab(32.27, 5.11, -31.21)
CIE-LCHlch(32.27, 31.63, 279.30°)
OKLaboklab(41.76% -0.0169 -0.0886)
OKLCHoklch(41.76% 0.09 259.2)
XYZxyz(7.3670, 7.2068, 20.4009)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C7D #7D5E2D
analogous
#2D747D #2D4C7D #362D7D
triadic
#2D4C7D #7D2D4C #4C7D2D
tetradic
#2D4C7D #7D2D74 #7D5E2D #2D7D36
square
#2D4C7D #7D2D74 #7D5E2D #2D7D36
split-complementary
#2D4C7D #7D362D #747D2D
monochromatic
#0D1523 #1D3150 #2D4C7D #3D67AA #5F87C5

Accessibility & contrast

On white

8.60
#2D4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D4C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C7D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C7D#FFFFFF#000000##FFFFFF
##2D4C7D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4c7d;
/* rgb */ color: rgb(45, 76, 125);
/* oklch */ color: oklch(41.8% 0.090 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7da3',
    500: '#2d4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c7d;
$custom-light: #6e7da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c7d",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 216.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.09021,
    "h": 259.2
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#2D4C7D
secondary
#AC8C5A
accent
#A351D7
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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