#2D4D8F#2D4D8F

#2D4D8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.115 H 263.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4D8F
RGBrgb(45, 77, 143)
HSLhsl(220, 52%, 37%)
HSVhsv(220, 69%, 56%)
CMYKcmyk(68.5%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.66, 11.20, -40.08)
CIE-LCHlch(33.66, 41.62, 285.61°)
OKLaboklab(43.19% -0.0141 -0.1146)
OKLCHoklch(43.19% 0.115 263)
XYZxyz(8.6922, 7.8480, 27.0380)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D8F #8F6F2D
analogous
#2D7E8F #2D4D8F #3E2D8F
triadic
#2D4D8F #8F2D4D #4D8F2D
tetradic
#2D4D8F #8F2D7E #8F6F2D #2D8F3E
square
#2D4D8F #8F2D7E #8F6F2D #2D8F3E
split-complementary
#2D4D8F #8F3E2D #7E8F2D
monochromatic
#101B32 #1E3460 #2D4D8F #3C66BE #6789CF

Accessibility & contrast

On white

8.17
#2D4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D4D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D8F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D8F#FFFFFF#000000##FFFFFF
##2D4D8F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4d8f;
/* rgb */ color: rgb(45, 77, 143);
/* oklch */ color: oklch(43.2% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#717eb0',
    500: '#2d4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d8f;
$custom-light: #717eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d8f",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 220.408,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.11546,
    "h": 263
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#2D4D8F
secondary
#B69A62
accent
#AD4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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