#2D4B79#2D4B79

#2D4B79 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.3% C 0.085 H 258.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2D4B79
RGBrgb(45, 75, 121)
HSLhsl(216, 46%, 33%)
HSVhsv(216, 63%, 47%)
CMYKcmyk(62.8%, 38%, 0%, 52.5%)
CIE-LABlab(31.74, 4.29, -29.57)
CIE-LCHlch(31.74, 29.88, 278.26°)
OKLaboklab(41.27% -0.0168 -0.0838)
OKLCHoklch(41.27% 0.085 258.7)
XYZxyz(7.0482, 6.9699, 19.0593)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B79 #795B2D
analogous
#2D7179 #2D4B79 #352D79
triadic
#2D4B79 #792D4B #4B792D
tetradic
#2D4B79 #792D71 #795B2D #2D7935
square
#2D4B79 #792D71 #795B2D #2D7935
split-complementary
#2D4B79 #79352D #71792D
monochromatic
#0C1420 #1C2F4C #2D4B79 #3E67A6 #5D86C3

Accessibility & contrast

On white

8.77
#2D4B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4B79
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B79#FFFFFF#000000##FFFFFF
##2D4B791.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4b79;
/* rgb */ color: rgb(45, 75, 121);
/* oklch */ color: oklch(41.3% 0.085 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7da0',
    500: '#2d4b79',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b79;
$custom-light: #6d7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b79",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 216.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.08547,
    "h": 258.7
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#2D4B79
secondary
#A98958
accent
#A252D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2D4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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