#2D4D84#2D4D84

#2D4D84 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.099 H 260.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4D84
RGBrgb(45, 77, 132)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 66%, 52%)
CMYKcmyk(65.9%, 41.7%, 0%, 48.2%)
CIE-LABlab(32.99, 7.05, -34.41)
CIE-LCHlch(32.99, 35.13, 281.58°)
OKLaboklab(42.44% -0.0163 -0.098)
OKLCHoklch(42.44% 0.099 260.5)
XYZxyz(7.8995, 7.5308, 22.8626)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D84 #84642D
analogous
#2D7984 #2D4D84 #382D84
triadic
#2D4D84 #842D4D #4D842D
tetradic
#2D4D84 #842D79 #84642D #2D8438
square
#2D4D84 #842D79 #84642D #2D8438
split-complementary
#2D4D84 #84382D #79842D
monochromatic
#0E1829 #1D3256 #2D4D84 #3D68B2 #6288C9

Accessibility & contrast

On white

8.38
#2D4D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D4D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D84
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D84#FFFFFF#000000##FFFFFF
##2D4D841.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4d84;
/* rgb */ color: rgb(45, 77, 132);
/* oklch */ color: oklch(42.4% 0.099 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ea8',
    500: '#2d4d84',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d84;
$custom-light: #6f7ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d84",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 217.931,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.09932,
    "h": 260.5
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#2D4D84
secondary
#B0915D
accent
#A64FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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