#2D4D83#2D4D83

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

Color values

HEX#2D4D83
RGBrgb(45, 77, 131)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 66%, 51%)
CMYKcmyk(65.6%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.93, 6.68, -33.89)
CIE-LCHlch(32.93, 34.54, 281.15°)
OKLaboklab(42.38% -0.0166 -0.0964)
OKLCHoklch(42.38% 0.098 260.3)
XYZxyz(7.8314, 7.5036, 22.5040)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D83 #83632D
analogous
#2D7883 #2D4D83 #382D83
triadic
#2D4D83 #832D4D #4D832D
tetradic
#2D4D83 #832D78 #83632D #2D8338
square
#2D4D83 #832D78 #83632D #2D8338
split-complementary
#2D4D83 #83382D #78832D
monochromatic
#0E1728 #1D3255 #2D4D83 #3D68B1 #6288C9

Accessibility & contrast

On white

8.40
#2D4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D83
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D83#FFFFFF#000000##FFFFFF
##2D4D831.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4d83;
/* rgb */ color: rgb(45, 77, 131);
/* oklch */ color: oklch(42.4% 0.098 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ea7',
    500: '#2d4d83',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d83;
$custom-light: #6f7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d83",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 217.674,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.09784,
    "h": 260.3
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#2D4D83
secondary
#AF905C
accent
#A54FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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