#2D3571#2D3571

#2D3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.103 H 274.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2D3571
RGBrgb(45, 53, 113)
HSLhsl(233, 43%, 31%)
HSVhsv(233, 60%, 44%)
CMYKcmyk(60.2%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.63, 16.33, -35.86)
CIE-LCHlch(24.63, 39.40, 294.48°)
OKLaboklab(35.65% 0.0076 -0.1025)
OKLCHoklch(35.65% 0.103 274.3)
XYZxyz(5.3350, 4.2960, 16.1677)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3571 #71692D
analogous
#2D5771 #2D3571 #472D71
triadic
#2D3571 #712D35 #35712D
tetradic
#2D3571 #712D57 #71692D #2D7147
square
#2D3571 #712D57 #71692D #2D7147
split-complementary
#2D3571 #71472D #57712D
monochromatic
#0A0C19 #1C2045 #2D3571 #3E4A9D #5B66BE

Accessibility & contrast

On white

11.30
#2D3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3571
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3571#FFFFFF#000000##FFFFFF
##2D35711.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#02434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3571;
/* rgb */ color: rgb(45, 53, 113);
/* oklch */ color: oklch(35.6% 0.103 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d6c9a',
    500: '#2d3571',
    950: '#000000',
  },
}
SCSS
$custom: #2d3571;
$custom-light: #6d6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3571",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 232.941,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35649,
    "c": 0.10281,
    "h": 274.3
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#2D3571
secondary
#A39A57
accent
#C455D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3571

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

Preview Lab → · Contrast checker → · Palette generator →

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