#2D5591#2D5591

#2D5591 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.109 H 258.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2D5591
RGBrgb(45, 85, 145)
HSLhsl(216, 53%, 37%)
HSVhsv(216, 69%, 57%)
CMYKcmyk(69%, 41.4%, 0%, 43.1%)
CIE-LABlab(36.17, 6.67, -37.29)
CIE-LCHlch(36.17, 37.88, 280.13°)
OKLaboklab(45.16% -0.0219 -0.1063)
OKLCHoklch(45.16% 0.109 258.4)
XYZxyz(9.4397, 9.0983, 28.0412)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5591 #91692D
analogous
#2D8791 #2D5591 #372D91
triadic
#2D5591 #912D55 #55912D
tetradic
#2D5591 #912D87 #91692D #2D9137
square
#2D5591 #912D87 #91692D #2D9137
split-complementary
#2D5591 #91372D #87912D
monochromatic
#101E34 #1F3A62 #2D5591 #3B70C0 #6892D0

Accessibility & contrast

On white

7.45
#2D5591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D5591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5591
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5591#FFFFFF#000000##FFFFFF
##2D55911.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A93
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5591;
/* rgb */ color: rgb(45, 85, 145);
/* oklch */ color: oklch(45.2% 0.109 258.4);
Tailwind
colors: {
  custom: {
    50: '#7284b1',
    500: '#2d5591',
    950: '#000000',
  },
}
SCSS
$custom: #2d5591;
$custom-light: #7284b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5591",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 145
  },
  "hsl": {
    "h": 216,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.10852,
    "h": 258.4
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#2D5591
secondary
#B79563
accent
#A24CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5591

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

Preview Lab → · Contrast checker → · Palette generator →

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