#2D558F#2D558F

#2D558F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.106 H 257.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2D558F
RGBrgb(45, 85, 143)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(68.5%, 40.6%, 0%, 43.9%)
CIE-LABlab(36.06, 5.91, -36.26)
CIE-LCHlch(36.06, 36.74, 279.26°)
OKLaboklab(45.04% -0.0223 -0.1033)
OKLCHoklch(45.04% 0.106 257.8)
XYZxyz(9.2868, 9.0371, 27.2362)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D558F #8F672D
analogous
#2D868F #2D558F #362D8F
triadic
#2D558F #8F2D55 #558F2D
tetradic
#2D558F #8F2D86 #8F672D #2D8F36
square
#2D558F #8F2D86 #8F672D #2D8F36
split-complementary
#2D558F #8F362D #868F2D
monochromatic
#101E32 #1E3960 #2D558F #3C71BE #6792CF

Accessibility & contrast

On white

7.48
#2D558F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D558F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D558F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D558F#FFFFFF#000000##FFFFFF
##2D558F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#2C518E
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d558f;
/* rgb */ color: rgb(45, 85, 143);
/* oklch */ color: oklch(45.0% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#7184b0',
    500: '#2d558f',
    950: '#000000',
  },
}
SCSS
$custom: #2d558f;
$custom-light: #7184b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d558f",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 215.51,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.10566,
    "h": 257.8
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#2D558F
secondary
#B69462
accent
#A14CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D558F

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

Preview Lab → · Contrast checker → · Palette generator →

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