#2D5491#2D5491

#2D5491 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.110 H 259.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2D5491
RGBrgb(45, 84, 145)
HSLhsl(217, 53%, 37%)
HSVhsv(217, 69%, 57%)
CMYKcmyk(69%, 42.1%, 0%, 43.1%)
CIE-LABlab(35.87, 7.32, -37.77)
CIE-LCHlch(35.87, 38.47, 280.97°)
OKLaboklab(44.93% -0.0208 -0.1077)
OKLCHoklch(44.93% 0.11 259)
XYZxyz(9.3615, 8.9419, 28.0152)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5491 #916A2D
analogous
#2D8691 #2D5491 #382D91
triadic
#2D5491 #912D54 #54912D
tetradic
#2D5491 #912D86 #916A2D #2D9138
square
#2D5491 #912D86 #916A2D #2D9138
split-complementary
#2D5491 #91382D #86912D
monochromatic
#101E34 #1F3962 #2D5491 #3B6FC0 #6891D0

Accessibility & contrast

On white

7.53
#2D5491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D5491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5491
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5491#FFFFFF#000000##FFFFFF
##2D54911.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#285090
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5491;
/* rgb */ color: rgb(45, 84, 145);
/* oklch */ color: oklch(44.9% 0.110 259.0);
Tailwind
colors: {
  custom: {
    50: '#7283b1',
    500: '#2d5491',
    950: '#000000',
  },
}
SCSS
$custom: #2d5491;
$custom-light: #7283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5491",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 216.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.10971,
    "h": 259
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#2D5491
secondary
#B79663
accent
#A44CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5491

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

Preview Lab → · Contrast checker → · Palette generator →

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