#2D559F#2D559F

#2D559F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.128 H 261.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2D559F
RGBrgb(45, 85, 159)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(71.7%, 46.5%, 0%, 37.6%)
CIE-LABlab(37.04, 11.97, -44.35)
CIE-LCHlch(37.04, 45.94, 285.10°)
OKLaboklab(46.11% -0.0191 -0.127)
OKLCHoklch(46.11% 0.128 261.5)
XYZxyz(10.5865, 9.5570, 34.0809)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559F #9F772D
analogous
#2D8E9F #2D559F #3E2D9F
triadic
#2D559F #9F2D55 #559F2D
tetradic
#2D559F #9F2D8E #9F772D #2D9F3E
square
#2D559F #9F2D8E #9F772D #2D9F3E
split-complementary
#2D559F #9F3E2D #8E9F2D
monochromatic
#122240 #203C6F #2D559F #4070C9 #7094D6

Accessibility & contrast

On white

7.21
#2D559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D559F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559F#FFFFFF#000000##FFFFFF
##2D559F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d559f;
/* rgb */ color: rgb(45, 85, 159);
/* oklch */ color: oklch(46.1% 0.128 261.5);
Tailwind
colors: {
  custom: {
    50: '#7484bc',
    500: '#2d559f',
    950: '#000000',
  },
}
SCSS
$custom: #2d559f;
$custom-light: #7484bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559f",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 218.947,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.12845,
    "h": 261.5
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#2D559F
secondary
#BEA06A
accent
#AA49DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D559F

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

Preview Lab → · Contrast checker → · Palette generator →

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