#2D3C72#2D3C72

#2D3C72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.094 H 269.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3C72
RGBrgb(45, 60, 114)
HSLhsl(227, 43%, 31%)
HSVhsv(227, 61%, 45%)
CMYKcmyk(60.5%, 47.4%, 0%, 55.3%)
CIE-LABlab(26.75, 11.85, -33.10)
CIE-LCHlch(26.75, 35.16, 289.70°)
OKLaboklab(37.28% -0.0005 -0.0943)
OKLCHoklch(37.28% 0.094 269.7)
XYZxyz(5.7343, 5.0041, 16.5800)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C72 #72632D
analogous
#2D5E72 #2D3C72 #402D72
triadic
#2D3C72 #722D3C #3C722D
tetradic
#2D3C72 #722D5E #72632D #2D7240
square
#2D3C72 #722D5E #72632D #2D7240
split-complementary
#2D3C72 #72402D #5E722D
monochromatic
#0A0E1A #1C2546 #2D3C72 #3E539E #5B71BE

Accessibility & contrast

On white

10.49
#2D3C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D3C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C72
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C72#FFFFFF#000000##FFFFFF
##2D3C721.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3c72;
/* rgb */ color: rgb(45, 60, 114);
/* oklch */ color: oklch(37.3% 0.094 269.7);
Tailwind
colors: {
  custom: {
    50: '#6c719b',
    500: '#2d3c72',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c72;
$custom-light: #6c719b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c72",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 226.957,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37281,
    "c": 0.09433,
    "h": 269.7
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#2D3C72
secondary
#A39357
accent
#B855D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3C72

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

Preview Lab → · Contrast checker → · Palette generator →

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