#2D5690#2D5690

#2D5690 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.106 H 257.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2D5690
RGBrgb(45, 86, 144)
HSLhsl(215, 52%, 37%)
HSVhsv(215, 69%, 56%)
CMYKcmyk(68.7%, 40.3%, 0%, 43.5%)
CIE-LABlab(36.42, 5.64, -36.30)
CIE-LCHlch(36.42, 36.73, 278.83°)
OKLaboklab(45.33% -0.0232 -0.1034)
OKLCHoklch(45.33% 0.106 257.4)
XYZxyz(9.4422, 9.2261, 27.6634)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5690 #90672D
analogous
#2D8790 #2D5690 #362D90
triadic
#2D5690 #902D56 #56902D
tetradic
#2D5690 #902D87 #90672D #2D9036
square
#2D5690 #902D87 #90672D #2D9036
split-complementary
#2D5690 #90362D #87902D
monochromatic
#101E33 #1E3A61 #2D5690 #3C72BF #6893D0

Accessibility & contrast

On white

7.38
#2D5690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D5690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5690
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5690#FFFFFF#000000##FFFFFF
##2D56901.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2D518F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5690;
/* rgb */ color: rgb(45, 86, 144);
/* oklch */ color: oklch(45.3% 0.106 257.4);
Tailwind
colors: {
  custom: {
    50: '#7185b1',
    500: '#2d5690',
    950: '#000000',
  },
}
SCSS
$custom: #2d5690;
$custom-light: #7185b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5690",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 144
  },
  "hsl": {
    "h": 215.152,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.10592,
    "h": 257.4
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#2D5690
secondary
#B69462
accent
#A04CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5690

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

Preview Lab → · Contrast checker → · Palette generator →

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