#2D3572#2D3572

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

Color values

HEX#2D3572
RGBrgb(45, 53, 114)
HSLhsl(233, 43%, 31%)
HSVhsv(233, 61%, 45%)
CMYKcmyk(60.5%, 53.5%, 0%, 55.3%)
CIE-LABlab(24.70, 16.69, -36.39)
CIE-LCHlch(24.70, 40.03, 294.65°)
OKLaboklab(35.73% 0.0077 -0.1041)
OKLCHoklch(35.73% 0.104 274.3)
XYZxyz(5.3916, 4.3186, 16.4658)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3572 #726A2D
analogous
#2D5772 #2D3572 #472D72
triadic
#2D3572 #722D35 #35722D
tetradic
#2D3572 #722D57 #726A2D #2D7247
square
#2D3572 #722D57 #726A2D #2D7247
split-complementary
#2D3572 #72472D #57722D
monochromatic
#0A0C1A #1C2146 #2D3572 #3E499E #5B67BE

Accessibility & contrast

On white

11.27
#2D3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3572
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3572#FFFFFF#000000##FFFFFF
##2D35721.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#063871
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3572;
/* rgb */ color: rgb(45, 53, 114);
/* oklch */ color: oklch(35.7% 0.104 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d6c9b',
    500: '#2d3572',
    950: '#000000',
  },
}
SCSS
$custom: #2d3572;
$custom-light: #6d6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3572",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 233.043,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.10436,
    "h": 274.3
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3572

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

Preview Lab → · Contrast checker → · Palette generator →

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