#2D3591#2D3591

#2D3591 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.150 H 273.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2D3591
RGBrgb(45, 53, 145)
HSLhsl(235, 53%, 37%)
HSVhsv(235, 69%, 57%)
CMYKcmyk(69%, 63.4%, 0%, 43.1%)
CIE-LABlab(27.15, 28.12, -51.84)
CIE-LCHlch(27.15, 58.98, 298.48°)
OKLaboklab(38.33% 0.0084 -0.1495)
OKLCHoklch(38.33% 0.15 273.2)
XYZxyz(7.4644, 5.1477, 27.3828)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3591 #91892D
analogous
#2D6791 #2D3591 #572D91
triadic
#2D3591 #912D35 #35912D
tetradic
#2D3591 #912D67 #91892D #2D9157
square
#2D3591 #912D67 #91892D #2D9157
split-complementary
#2D3591 #91572D #67912D
monochromatic
#101334 #1F2462 #2D3591 #3B46C0 #6871D0

Accessibility & contrast

On white

10.35
#2D3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3591
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3591#FFFFFF#000000##FFFFFF
##2D35911.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3591;
/* rgb */ color: rgb(45, 53, 145);
/* oklch */ color: oklch(38.3% 0.150 273.2);
Tailwind
colors: {
  custom: {
    50: '#736cb2',
    500: '#2d3591',
    950: '#000000',
  },
}
SCSS
$custom: #2d3591;
$custom-light: #736cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3591",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 235.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.14975,
    "h": 273.2
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#2D3591
secondary
#B7B063
accent
#D14CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3591

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

Preview Lab → · Contrast checker → · Palette generator →

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