#2D558D#2D558D

#2D558D is a dark, moderate blue. Relative luminance 0.090; OKLCH L 44.9% C 0.103 H 257.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2D558D
RGBrgb(45, 85, 141)
HSLhsl(215, 52%, 36%)
HSVhsv(215, 68%, 55%)
CMYKcmyk(68.1%, 39.7%, 0%, 44.7%)
CIE-LABlab(35.94, 5.16, -35.23)
CIE-LCHlch(35.94, 35.61, 278.34°)
OKLaboklab(44.91% -0.0228 -0.1003)
OKLCHoklch(44.91% 0.103 257.2)
XYZxyz(9.1367, 8.9771, 26.4454)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D558D #8D652D
analogous
#2D858D #2D558D #352D8D
triadic
#2D558D #8D2D55 #558D2D
tetradic
#2D558D #8D2D85 #8D652D #2D8D35
square
#2D558D #8D2D85 #8D652D #2D8D35
split-complementary
#2D558D #8D352D #858D2D
monochromatic
#0F1D30 #1E395F #2D558D #3C71BB #6692CE

Accessibility & contrast

On white

7.51
#2D558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D558D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D558D#FFFFFF#000000##FFFFFF
##2D558D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#2E508C
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d558d;
/* rgb */ color: rgb(45, 85, 141);
/* oklch */ color: oklch(44.9% 0.103 257.2);
Tailwind
colors: {
  custom: {
    50: '#7184ae',
    500: '#2d558d',
    950: '#000000',
  },
}
SCSS
$custom: #2d558d;
$custom-light: #7184ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d558d",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 215,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44908,
    "c": 0.10282,
    "h": 257.2
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#2D558D
secondary
#B59261
accent
#A04DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D558D

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

Preview Lab → · Contrast checker → · Palette generator →

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