#2D4E8D#2D4E8D

#2D4E8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.111 H 262.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2D4E8D
RGBrgb(45, 78, 141)
HSLhsl(219, 52%, 36%)
HSVhsv(219, 68%, 55%)
CMYKcmyk(68.1%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.83, 9.78, -38.59)
CIE-LCHlch(33.83, 39.81, 284.22°)
OKLaboklab(43.28% -0.0155 -0.1102)
OKLCHoklch(43.28% 0.111 262)
XYZxyz(8.6126, 7.9289, 26.2707)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E8D #8D6C2D
analogous
#2D7E8D #2D4E8D #3C2D8D
triadic
#2D4E8D #8D2D4E #4E8D2D
tetradic
#2D4E8D #8D2D7E #8D6C2D #2D8D3C
square
#2D4E8D #8D2D7E #8D6C2D #2D8D3C
split-complementary
#2D4E8D #8D3C2D #7E8D2D
monochromatic
#0F1B30 #1E345F #2D4E8D #3C68BB #668ACE

Accessibility & contrast

On white

8.12
#2D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E8D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E8D#FFFFFF#000000##FFFFFF
##2D4E8D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4e8d;
/* rgb */ color: rgb(45, 78, 141);
/* oklch */ color: oklch(43.3% 0.111 262.0);
Tailwind
colors: {
  custom: {
    50: '#717faf',
    500: '#2d4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e8d;
$custom-light: #717faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e8d",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 219.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.11128,
    "h": 262
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#2D4E8D
secondary
#B59861
accent
#AA4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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