#2D4C85#2D4C85

#2D4C85 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.102 H 261.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4C85
RGBrgb(45, 76, 133)
HSLhsl(219, 49%, 35%)
HSVhsv(219, 66%, 52%)
CMYKcmyk(66.2%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.74, 8.09, -35.42)
CIE-LCHlch(32.74, 36.33, 282.87°)
OKLaboklab(42.28% -0.015 -0.1009)
OKLCHoklch(42.28% 0.102 261.5)
XYZxyz(7.8988, 7.4195, 23.2016)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C85 #85662D
analogous
#2D7885 #2D4C85 #3A2D85
triadic
#2D4C85 #852D4C #4C852D
tetradic
#2D4C85 #852D78 #85662D #2D853A
square
#2D4C85 #852D78 #85662D #2D853A
split-complementary
#2D4C85 #853A2D #78852D
monochromatic
#0E182A #1E3257 #2D4C85 #3C66B3 #6287CA

Accessibility & contrast

On white

8.45
#2D4C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D4C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C85
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C85#FFFFFF#000000##FFFFFF
##2D4C851.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325187
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4c85;
/* rgb */ color: rgb(45, 76, 133);
/* oklch */ color: oklch(42.3% 0.102 261.5);
Tailwind
colors: {
  custom: {
    50: '#6f7da9',
    500: '#2d4c85',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c85;
$custom-light: #6f7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c85",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 218.864,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.10203,
    "h": 261.5
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#2D4C85
secondary
#B0935D
accent
#A84FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4C85

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

Preview Lab → · Contrast checker → · Palette generator →

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