#2D559B#2D559B

#2D559B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.123 H 260.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2D559B
RGBrgb(45, 85, 155)
HSLhsl(218, 55%, 39%)
HSVhsv(218, 71%, 61%)
CMYKcmyk(71%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.78, 10.45, -42.36)
CIE-LCHlch(36.78, 43.63, 283.86°)
OKLaboklab(45.83% -0.0198 -0.1212)
OKLCHoklch(45.83% 0.123 260.7)
XYZxyz(10.2450, 9.4204, 32.2824)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559B #9B732D
analogous
#2D8C9B #2D559B #3C2D9B
triadic
#2D559B #9B2D55 #559B2D
tetradic
#2D559B #9B2D8C #9B732D #2D9B3C
square
#2D559B #9B2D8C #9B732D #2D9B3C
split-complementary
#2D559B #9B3C2D #8C9B2D
monochromatic
#11213C #1F3B6C #2D559B #3E70C7 #6E93D5

Accessibility & contrast

On white

7.28
#2D559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D559B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559B#FFFFFF#000000##FFFFFF
##2D559B1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d559b;
/* rgb */ color: rgb(45, 85, 155);
/* oklch */ color: oklch(45.8% 0.123 260.7);
Tailwind
colors: {
  custom: {
    50: '#7484b9',
    500: '#2d559b',
    950: '#000000',
  },
}
SCSS
$custom: #2d559b;
$custom-light: #7484b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559b",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 218.182,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.12278,
    "h": 260.7
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#2D559B
secondary
#BC9D68
accent
#A849DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D559B

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

Preview Lab → · Contrast checker → · Palette generator →

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