#2D5590#2D5590

#2D5590 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.107 H 258.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2D5590
RGBrgb(45, 85, 144)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(68.7%, 41%, 0%, 43.5%)
CIE-LABlab(36.11, 6.29, -36.78)
CIE-LCHlch(36.11, 37.31, 279.70°)
OKLaboklab(45.1% -0.0221 -0.1048)
OKLCHoklch(45.1% 0.107 258.1)
XYZxyz(9.3629, 9.0676, 27.6369)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5590 #90682D
analogous
#2D8690 #2D5590 #372D90
triadic
#2D5590 #902D55 #55902D
tetradic
#2D5590 #902D86 #90682D #2D9037
square
#2D5590 #902D86 #90682D #2D9037
split-complementary
#2D5590 #90372D #86902D
monochromatic
#101E33 #1E3961 #2D5590 #3C71BF #6892D0

Accessibility & contrast

On white

7.46
#2D5590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D5590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5590
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5590#FFFFFF#000000##FFFFFF
##2D55901.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5590;
/* rgb */ color: rgb(45, 85, 144);
/* oklch */ color: oklch(45.1% 0.107 258.1);
Tailwind
colors: {
  custom: {
    50: '#7184b1',
    500: '#2d5590',
    950: '#000000',
  },
}
SCSS
$custom: #2d5590;
$custom-light: #7184b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5590",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 144
  },
  "hsl": {
    "h": 215.758,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.451,
    "c": 0.10709,
    "h": 258.1
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#2D5590
secondary
#B69462
accent
#A24CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5590

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

Preview Lab → · Contrast checker → · Palette generator →

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