#2D4D8E#2D4D8E

#2D4D8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.114 H 262.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4D8E
RGBrgb(45, 77, 142)
HSLhsl(220, 52%, 37%)
HSVhsv(220, 68%, 56%)
CMYKcmyk(68.3%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.60, 10.82, -39.57)
CIE-LCHlch(33.60, 41.03, 285.29°)
OKLaboklab(43.12% -0.0143 -0.1131)
OKLCHoklch(43.12% 0.114 262.8)
XYZxyz(8.6168, 7.8178, 26.6408)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D8E #8E6E2D
analogous
#2D7E8E #2D4D8E #3E2D8E
triadic
#2D4D8E #8E2D4D #4D8E2D
tetradic
#2D4D8E #8E2D7E #8E6E2D #2D8E3E
square
#2D4D8E #8E2D7E #8E6E2D #2D8E3E
split-complementary
#2D4D8E #8E3E2D #7E8E2D
monochromatic
#101B31 #1E3460 #2D4D8E #3C66BC #6789CF

Accessibility & contrast

On white

8.19
#2D4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4D8E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D8E#FFFFFF#000000##FFFFFF
##2D4D8E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4d8e;
/* rgb */ color: rgb(45, 77, 142);
/* oklch */ color: oklch(43.1% 0.114 262.8);
Tailwind
colors: {
  custom: {
    50: '#717eaf',
    500: '#2d4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d8e;
$custom-light: #717eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d8e",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 220.206,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.11401,
    "h": 262.8
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#2D4D8E
secondary
#B59A61
accent
#AC4CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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