#2D3584#2D3584

#2D3584 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.131 H 273.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2D3584
RGBrgb(45, 53, 132)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 66%, 52%)
CMYKcmyk(65.9%, 59.8%, 0%, 48.2%)
CIE-LABlab(26.07, 23.34, -45.54)
CIE-LCHlch(26.07, 51.17, 297.14°)
OKLaboklab(37.19% 0.0086 -0.131)
OKLCHoklch(37.19% 0.131 273.8)
XYZxyz(6.5188, 4.7695, 22.4024)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3584 #847C2D
analogous
#2D6184 #2D3584 #512D84
triadic
#2D3584 #842D35 #35842D
tetradic
#2D3584 #842D61 #847C2D #2D8451
square
#2D3584 #842D61 #847C2D #2D8451
split-complementary
#2D3584 #84512D #61842D
monochromatic
#0E1029 #1D2356 #2D3584 #3D47B2 #626BC9

Accessibility & contrast

On white

10.75
#2D3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D3584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3584
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3584#FFFFFF#000000##FFFFFF
##2D35841.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3584;
/* rgb */ color: rgb(45, 53, 132);
/* oklch */ color: oklch(37.2% 0.131 273.8);
Tailwind
colors: {
  custom: {
    50: '#706ca8',
    500: '#2d3584',
    950: '#000000',
  },
}
SCSS
$custom: #2d3584;
$custom-light: #706ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3584",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 234.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.13129,
    "h": 273.8
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#2D3584
secondary
#B0A85D
accent
#CC4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3584

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

Preview Lab → · Contrast checker → · Palette generator →

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