#2D3C73#2D3C73

#2D3C73 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.096 H 269.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2D3C73
RGBrgb(45, 60, 115)
HSLhsl(227, 44%, 31%)
HSVhsv(227, 61%, 45%)
CMYKcmyk(60.9%, 47.8%, 0%, 54.9%)
CIE-LABlab(26.81, 12.22, -33.63)
CIE-LCHlch(26.81, 35.78, 289.97°)
OKLaboklab(37.35% -0.0003 -0.0959)
OKLCHoklch(37.35% 0.096 269.8)
XYZxyz(5.7915, 5.0270, 16.8814)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C73 #73642D
analogous
#2D5F73 #2D3C73 #412D73
triadic
#2D3C73 #732D3C #3C732D
tetradic
#2D3C73 #732D5F #73642D #2D7341
square
#2D3C73 #732D5F #73642D #2D7341
split-complementary
#2D3C73 #73412D #5F732D
monochromatic
#0B0E1B #1C2547 #2D3C73 #3E539F #5B71BF

Accessibility & contrast

On white

10.47
#2D3C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C73
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C73#FFFFFF#000000##FFFFFF
##2D3C731.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#193C72
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3c73;
/* rgb */ color: rgb(45, 60, 115);
/* oklch */ color: oklch(37.4% 0.096 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d719c',
    500: '#2d3c73',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c73;
$custom-light: #6d719c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c73",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 115
  },
  "hsl": {
    "h": 227.143,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.09589,
    "h": 269.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#2D3C73
secondary
#A49457
accent
#B854D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3C73

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

Preview Lab → · Contrast checker → · Palette generator →

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