#2D4E82#2D4E82

#2D4E82 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.095 H 259.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2D4E82
RGBrgb(45, 78, 130)
HSLhsl(217, 49%, 34%)
HSVhsv(217, 65%, 51%)
CMYKcmyk(65.4%, 40%, 0%, 49%)
CIE-LABlab(33.17, 5.65, -32.88)
CIE-LCHlch(33.17, 33.36, 279.74°)
OKLaboklab(42.55% -0.0179 -0.0935)
OKLCHoklch(42.55% 0.095 259.2)
XYZxyz(7.8344, 7.6176, 22.1722)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E82 #82612D
analogous
#2D7982 #2D4E82 #372D82
triadic
#2D4E82 #822D4E #4E822D
tetradic
#2D4E82 #822D79 #82612D #2D8237
square
#2D4E82 #822D79 #82612D #2D8237
split-complementary
#2D4E82 #82372D #79822D
monochromatic
#0E1727 #1D3355 #2D4E82 #3D69AF #6189C8

Accessibility & contrast

On white

8.32
#2D4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E82
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E82#FFFFFF#000000##FFFFFF
##2D4E821.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4e82;
/* rgb */ color: rgb(45, 78, 130);
/* oklch */ color: oklch(42.6% 0.095 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fa6',
    500: '#2d4e82',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e82;
$custom-light: #6f7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e82",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 216.706,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.09516,
    "h": 259.2
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#2D4E82
secondary
#AF8F5C
accent
#A350D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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