#2D3585#2D3585

#2D3585 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.133 H 273.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3585
RGBrgb(45, 53, 133)
HSLhsl(235, 49%, 35%)
HSVhsv(235, 66%, 52%)
CMYKcmyk(66.2%, 60.2%, 0%, 47.8%)
CIE-LABlab(26.15, 23.71, -46.03)
CIE-LCHlch(26.15, 51.78, 297.25°)
OKLaboklab(37.27% 0.0086 -0.1325)
OKLCHoklch(37.27% 0.133 273.7)
XYZxyz(6.5875, 4.7970, 22.7645)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3585 #857D2D
analogous
#2D6185 #2D3585 #512D85
triadic
#2D3585 #852D35 #35852D
tetradic
#2D3585 #852D61 #857D2D #2D8551
square
#2D3585 #852D61 #857D2D #2D8551
split-complementary
#2D3585 #85512D #61852D
monochromatic
#0E112A #1E2357 #2D3585 #3C47B3 #626CCA

Accessibility & contrast

On white

10.72
#2D3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3585
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3585#FFFFFF#000000##FFFFFF
##2D35851.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3585;
/* rgb */ color: rgb(45, 53, 133);
/* oklch */ color: oklch(37.3% 0.133 273.7);
Tailwind
colors: {
  custom: {
    50: '#716ca9',
    500: '#2d3585',
    950: '#000000',
  },
}
SCSS
$custom: #2d3585;
$custom-light: #716ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3585",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 234.545,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37271,
    "c": 0.13274,
    "h": 273.7
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3585

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

Preview Lab → · Contrast checker → · Palette generator →

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