#2D5288#2D5288

#2D5288 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.099 H 257.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2D5288
RGBrgb(45, 82, 136)
HSLhsl(216, 50%, 35%)
HSVhsv(216, 67%, 53%)
CMYKcmyk(66.9%, 39.7%, 0%, 46.7%)
CIE-LABlab(34.74, 5.25, -34.09)
CIE-LCHlch(34.74, 34.49, 278.76°)
OKLaboklab(43.88% -0.0208 -0.0969)
OKLCHoklch(43.88% 0.099 257.9)
XYZxyz(8.5418, 8.3692, 24.4530)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5288 #88632D
analogous
#2D7F88 #2D5288 #352D88
triadic
#2D5288 #882D52 #52882D
tetradic
#2D5288 #882D7F #88632D #2D8835
square
#2D5288 #882D7F #88632D #2D8835
split-complementary
#2D5288 #88352D #7F882D
monochromatic
#0F1B2C #1E365A #2D5288 #3C6EB6 #648ECC

Accessibility & contrast

On white

7.85
#2D5288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D5288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5288
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5288#FFFFFF#000000##FFFFFF
##2D52881.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A568A
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5288;
/* rgb */ color: rgb(45, 82, 136);
/* oklch */ color: oklch(43.9% 0.099 257.9);
Tailwind
colors: {
  custom: {
    50: '#7082ab',
    500: '#2d5288',
    950: '#000000',
  },
}
SCSS
$custom: #2d5288;
$custom-light: #7082ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5288",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 215.604,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.09914,
    "h": 257.9
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#2D5288
secondary
#B2905F
accent
#A14EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5288

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

Preview Lab → · Contrast checker → · Palette generator →

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