#2D559E#2D559E

#2D559E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.127 H 261.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D559E
RGBrgb(45, 85, 158)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(71.5%, 46.2%, 0%, 38%)
CIE-LABlab(36.97, 11.59, -43.86)
CIE-LCHlch(36.97, 45.36, 284.80°)
OKLaboklab(46.04% -0.0192 -0.1256)
OKLCHoklch(46.04% 0.127 261.3)
XYZxyz(10.5000, 9.5224, 33.6258)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559E #9E762D
analogous
#2D8E9E #2D559E #3E2D9E
triadic
#2D559E #9E2D55 #559E2D
tetradic
#2D559E #9E2D8E #9E762D #2D9E3E
square
#2D559E #9E2D8E #9E762D #2D9E3E
split-complementary
#2D559E #9E3E2D #8E9E2D
monochromatic
#12223F #1F3B6E #2D559E #4070C9 #6F94D6

Accessibility & contrast

On white

7.23
#2D559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D559E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559E#FFFFFF#000000##FFFFFF
##2D559E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d559e;
/* rgb */ color: rgb(45, 85, 158);
/* oklch */ color: oklch(46.0% 0.127 261.3);
Tailwind
colors: {
  custom: {
    50: '#7484bb',
    500: '#2d559e',
    950: '#000000',
  },
}
SCSS
$custom: #2d559e;
$custom-light: #7484bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559e",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 218.761,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.12704,
    "h": 261.3
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#2D559E
secondary
#BDA069
accent
#AA49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D559E

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

Preview Lab → · Contrast checker → · Palette generator →

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