#2D4C8D#2D4C8D

#2D4C8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.114 H 263.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2D4C8D
RGBrgb(45, 76, 141)
HSLhsl(221, 52%, 36%)
HSVhsv(221, 68%, 55%)
CMYKcmyk(68.1%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.24, 11.11, -39.54)
CIE-LCHlch(33.24, 41.07, 285.70°)
OKLaboklab(42.82% -0.0134 -0.113)
OKLCHoklch(42.82% 0.114 263.2)
XYZxyz(8.4727, 7.6490, 26.2240)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C8D #8D6E2D
analogous
#2D7C8D #2D4C8D #3E2D8D
triadic
#2D4C8D #8D2D4C #4C8D2D
tetradic
#2D4C8D #8D2D7C #8D6E2D #2D8D3E
square
#2D4C8D #8D2D7C #8D6E2D #2D8D3E
split-complementary
#2D4C8D #8D3E2D #7C8D2D
monochromatic
#0F1A30 #1E335F #2D4C8D #3C65BB #6688CE

Accessibility & contrast

On white

8.30
#2D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C8D#FFFFFF#000000##FFFFFF
##2D4C8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4c8d;
/* rgb */ color: rgb(45, 76, 141);
/* oklch */ color: oklch(42.8% 0.114 263.2);
Tailwind
colors: {
  custom: {
    50: '#717daf',
    500: '#2d4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c8d;
$custom-light: #717daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c8d",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 220.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.11381,
    "h": 263.2
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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