#2D4D8D#2D4D8D

#2D4D8D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.113 H 262.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2D4D8D
RGBrgb(45, 77, 141)
HSLhsl(220, 52%, 36%)
HSVhsv(220, 68%, 55%)
CMYKcmyk(68.1%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.54, 10.44, -39.06)
CIE-LCHlch(33.54, 40.43, 284.97°)
OKLaboklab(43.05% -0.0144 -0.1116)
OKLCHoklch(43.05% 0.113 262.6)
XYZxyz(8.5421, 7.7879, 26.2472)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D8D #8D6D2D
analogous
#2D7D8D #2D4D8D #3D2D8D
triadic
#2D4D8D #8D2D4D #4D8D2D
tetradic
#2D4D8D #8D2D7D #8D6D2D #2D8D3D
square
#2D4D8D #8D2D7D #8D6D2D #2D8D3D
split-complementary
#2D4D8D #8D3D2D #7D8D2D
monochromatic
#0F1A30 #1E345F #2D4D8D #3C66BB #6689CE

Accessibility & contrast

On white

8.21
#2D4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D8D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D8D#FFFFFF#000000##FFFFFF
##2D4D8D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4d8d;
/* rgb */ color: rgb(45, 77, 141);
/* oklch */ color: oklch(43.0% 0.113 262.6);
Tailwind
colors: {
  custom: {
    50: '#717eaf',
    500: '#2d4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d8d;
$custom-light: #717eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d8d",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.11254,
    "h": 262.6
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#2D4D8D
secondary
#B59961
accent
#AC4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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