#2D559C#2D559C

#2D559C is a mid, vivid blue. Relative luminance 0.095; OKLCH L 45.9% C 0.124 H 260.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2D559C
RGBrgb(45, 85, 156)
HSLhsl(218, 55%, 39%)
HSVhsv(218, 71%, 61%)
CMYKcmyk(71.2%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.84, 10.83, -42.86)
CIE-LCHlch(36.84, 44.21, 284.18°)
OKLaboklab(45.9% -0.0196 -0.1226)
OKLCHoklch(45.9% 0.124 260.9)
XYZxyz(10.3293, 9.4541, 32.7265)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559C #9C742D
analogous
#2D8D9C #2D559C #3C2D9C
triadic
#2D559C #9C2D55 #559C2D
tetradic
#2D559C #9C2D8D #9C742D #2D9C3C
square
#2D559C #9C2D8D #9C742D #2D9C3C
split-complementary
#2D559C #9C3C2D #8D9C2D
monochromatic
#12213D #1F3B6D #2D559C #3F70C8 #6E93D5

Accessibility & contrast

On white

7.26
#2D559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2D559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D559C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559C#FFFFFF#000000##FFFFFF
##2D559C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#1D529B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d559c;
/* rgb */ color: rgb(45, 85, 156);
/* oklch */ color: oklch(45.9% 0.124 260.9);
Tailwind
colors: {
  custom: {
    50: '#7484ba',
    500: '#2d559c',
    950: '#000000',
  },
}
SCSS
$custom: #2d559c;
$custom-light: #7484ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559c",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 218.378,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.1242,
    "h": 260.9
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#2D559C
secondary
#BC9E68
accent
#A949DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D559C

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

Preview Lab → · Contrast checker → · Palette generator →

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