#2D4D85#2D4D85

#2D4D85 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.101 H 260.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4D85
RGBrgb(45, 77, 133)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 66%, 52%)
CMYKcmyk(66.2%, 42.1%, 0%, 47.8%)
CIE-LABlab(33.05, 7.43, -34.94)
CIE-LCHlch(33.05, 35.72, 282.00°)
OKLaboklab(42.51% -0.0161 -0.0995)
OKLCHoklch(42.51% 0.101 260.8)
XYZxyz(7.9682, 7.5583, 23.2247)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D85 #85652D
analogous
#2D7985 #2D4D85 #392D85
triadic
#2D4D85 #852D4D #4D852D
tetradic
#2D4D85 #852D79 #85652D #2D8539
square
#2D4D85 #852D79 #85652D #2D8539
split-complementary
#2D4D85 #85392D #79852D
monochromatic
#0E182A #1E3357 #2D4D85 #3C67B3 #6288CA

Accessibility & contrast

On white

8.36
#2D4D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4D85
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D85#FFFFFF#000000##FFFFFF
##2D4D851.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4d85;
/* rgb */ color: rgb(45, 77, 133);
/* oklch */ color: oklch(42.5% 0.101 260.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ea9',
    500: '#2d4d85',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d85;
$custom-light: #6f7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d85",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 218.182,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.10078,
    "h": 260.8
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#2D4D85
secondary
#B0925D
accent
#A74FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4D85

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

Preview Lab → · Contrast checker → · Palette generator →

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