#2D5599#2D5599

#2D5599 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.120 H 260.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D5599
RGBrgb(45, 85, 153)
HSLhsl(218, 55%, 39%)
HSVhsv(218, 71%, 60%)
CMYKcmyk(70.6%, 44.4%, 0%, 40%)
CIE-LABlab(36.66, 9.69, -41.36)
CIE-LCHlch(36.66, 42.48, 283.19°)
OKLaboklab(45.7% -0.0202 -0.1182)
OKLCHoklch(45.7% 0.12 260.3)
XYZxyz(10.0784, 9.3538, 31.4051)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5599 #99712D
analogous
#2D8B99 #2D5599 #3B2D99
triadic
#2D5599 #992D55 #55992D
tetradic
#2D5599 #992D8B #99712D #2D993B
square
#2D5599 #992D8B #99712D #2D993B
split-complementary
#2D5599 #993B2D #8B992D
monochromatic
#11203A #1F3B6A #2D5599 #3D70C6 #6C93D4

Accessibility & contrast

On white

7.31
#2D5599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D5599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5599
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5599#FFFFFF#000000##FFFFFF
##2D55991.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5599;
/* rgb */ color: rgb(45, 85, 153);
/* oklch */ color: oklch(45.7% 0.120 260.3);
Tailwind
colors: {
  custom: {
    50: '#7384b7',
    500: '#2d5599',
    950: '#000000',
  },
}
SCSS
$custom: #2d5599;
$custom-light: #7384b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5599",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 217.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.11993,
    "h": 260.3
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#2D5599
secondary
#BB9C67
accent
#A74ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5599

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

Preview Lab → · Contrast checker → · Palette generator →

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