#2D4A7D#2D4A7D

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

Color values

HEX#2D4A7D
RGBrgb(45, 74, 125)
HSLhsl(218, 47%, 33%)
HSVhsv(218, 64%, 49%)
CMYKcmyk(64%, 40.8%, 0%, 51%)
CIE-LABlab(31.66, 6.44, -32.19)
CIE-LCHlch(31.66, 32.83, 281.31°)
OKLaboklab(41.28% -0.0146 -0.0915)
OKLCHoklch(41.28% 0.093 260.9)
XYZxyz(7.2313, 6.9355, 20.3557)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A7D #7D602D
analogous
#2D727D #2D4A7D #382D7D
triadic
#2D4A7D #7D2D4A #4A7D2D
tetradic
#2D4A7D #7D2D72 #7D602D #2D7D38
square
#2D4A7D #7D2D72 #7D602D #2D7D38
split-complementary
#2D4A7D #7D382D #727D2D
monochromatic
#0D1523 #1D2F50 #2D4A7D #3D65AA #5F84C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4A7D#FFFFFF#000000##FFFFFF
##2D4A7D1.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)
#344F7F
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4a7d;
/* rgb */ color: rgb(45, 74, 125);
/* oklch */ color: oklch(41.3% 0.093 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7ca3',
    500: '#2d4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a7d;
$custom-light: #6e7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a7d",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 218.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.09264,
    "h": 260.9
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#2D4A7D
secondary
#AC8E5A
accent
#A651D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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