#2D559A#2D559A

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

Color values

HEX#2D559A
RGBrgb(45, 85, 154)
HSLhsl(218, 55%, 39%)
HSVhsv(218, 71%, 60%)
CMYKcmyk(70.8%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.72, 10.07, -41.86)
CIE-LCHlch(36.72, 43.05, 283.53°)
OKLaboklab(45.76% -0.02 -0.1197)
OKLCHoklch(45.76% 0.121 260.5)
XYZxyz(10.1613, 9.3869, 31.8419)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559A #9A722D
analogous
#2D8C9A #2D559A #3C2D9A
triadic
#2D559A #9A2D55 #559A2D
tetradic
#2D559A #9A2D8C #9A722D #2D9A3C
square
#2D559A #9A2D8C #9A722D #2D9A3C
split-complementary
#2D559A #9A3C2D #8C9A2D
monochromatic
#11213B #1F3B6B #2D559A #3E70C7 #6D93D4

Accessibility & contrast

On white

7.30
#2D559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D559A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559A#FFFFFF#000000##FFFFFF
##2D559A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d559a;
/* rgb */ color: rgb(45, 85, 154);
/* oklch */ color: oklch(45.8% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#7384b8',
    500: '#2d559a',
    950: '#000000',
  },
}
SCSS
$custom: #2d559a;
$custom-light: #7384b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559a",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 217.982,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.12135,
    "h": 260.5
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#2D559A
secondary
#BB9D67
accent
#A84ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D559A

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

Preview Lab → · Contrast checker → · Palette generator →

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