#2D3576#2D3576

#2D3576 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.110 H 274.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2D3576
RGBrgb(45, 53, 118)
HSLhsl(233, 45%, 32%)
HSVhsv(233, 62%, 46%)
CMYKcmyk(61.9%, 55.1%, 0%, 53.7%)
CIE-LABlab(24.99, 18.17, -38.47)
CIE-LCHlch(24.99, 42.54, 295.28°)
OKLaboklab(36.04% 0.0081 -0.1102)
OKLCHoklch(36.04% 0.11 274.2)
XYZxyz(5.6242, 4.4117, 17.6912)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3576 #766E2D
analogous
#2D5A76 #2D3576 #4A2D76
triadic
#2D3576 #762D35 #35762D
tetradic
#2D3576 #762D5A #766E2D #2D764A
square
#2D3576 #762D5A #766E2D #2D764A
split-complementary
#2D3576 #764A2D #5A762D
monochromatic
#0B0D1D #1C214A #2D3576 #3E49A2 #5C67C1

Accessibility & contrast

On white

11.16
#2D3576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3576
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3576#FFFFFF#000000##FFFFFF
##2D35761.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3576;
/* rgb */ color: rgb(45, 53, 118);
/* oklch */ color: oklch(36.0% 0.110 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e6c9e',
    500: '#2d3576',
    950: '#000000',
  },
}
SCSS
$custom: #2d3576;
$custom-light: #6e6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3576",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 118
  },
  "hsl": {
    "h": 233.425,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.11049,
    "h": 274.2
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#2D3576
secondary
#A79F57
accent
#C653D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2D3576

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

Preview Lab → · Contrast checker → · Palette generator →

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