#2D4D7E#2D4D7E

#2D4D7E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.1% C 0.090 H 258.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2D4D7E
RGBrgb(45, 77, 126)
HSLhsl(216, 47%, 34%)
HSVhsv(216, 64%, 49%)
CMYKcmyk(64.3%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.64, 4.82, -31.26)
CIE-LCHlch(32.64, 31.63, 278.77°)
OKLaboklab(42.06% -0.0178 -0.0887)
OKLCHoklch(42.06% 0.09 258.7)
XYZxyz(7.5006, 7.3713, 20.7621)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D7E #7E5E2D
analogous
#2D757E #2D4D7E #352D7E
triadic
#2D4D7E #7E2D4D #4D7E2D
tetradic
#2D4D7E #7E2D75 #7E5E2D #2D7E35
square
#2D4D7E #7E2D75 #7E5E2D #2D7E35
split-complementary
#2D4D7E #7E352D #757E2D
monochromatic
#0D1624 #1D3151 #2D4D7E #3D69AB #5F88C6

Accessibility & contrast

On white

8.49
#2D4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D4D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D7E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D7E#FFFFFF#000000##FFFFFF
##2D4D7E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4d7e;
/* rgb */ color: rgb(45, 77, 126);
/* oklch */ color: oklch(42.1% 0.090 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e7ea3',
    500: '#2d4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d7e;
$custom-light: #6e7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d7e",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 216.296,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42061,
    "c": 0.09049,
    "h": 258.7
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#2D4D7E
secondary
#AC8C5A
accent
#A251D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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