#2D5597#2D5597

#2D5597 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.117 H 259.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2D5597
RGBrgb(45, 85, 151)
HSLhsl(217, 54%, 38%)
HSVhsv(217, 70%, 59%)
CMYKcmyk(70.2%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.53, 8.93, -40.35)
CIE-LCHlch(36.53, 41.32, 282.48°)
OKLaboklab(45.56% -0.0206 -0.1152)
OKLCHoklch(45.56% 0.117 259.9)
XYZxyz(9.9146, 9.2882, 30.5425)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5597 #976F2D
analogous
#2D8A97 #2D5597 #3A2D97
triadic
#2D5597 #972D55 #55972D
tetradic
#2D5597 #972D8A #976F2D #2D973A
square
#2D5597 #972D8A #976F2D #2D973A
split-complementary
#2D5597 #973A2D #8A972D
monochromatic
#112039 #1F3A68 #2D5597 #3C70C5 #6B92D3

Accessibility & contrast

On white

7.35
#2D5597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D5597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5597
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5597#FFFFFF#000000##FFFFFF
##2D55971.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#245196
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5597;
/* rgb */ color: rgb(45, 85, 151);
/* oklch */ color: oklch(45.6% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#7384b6',
    500: '#2d5597',
    950: '#000000',
  },
}
SCSS
$custom: #2d5597;
$custom-light: #7384b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5597",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 217.358,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.11707,
    "h": 259.9
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#2D5597
secondary
#BA9A66
accent
#A64ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5597

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

Preview Lab → · Contrast checker → · Palette generator →

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