#2D3D72#2D3D72

#2D3D72 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.093 H 269.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2D3D72
RGBrgb(45, 61, 114)
HSLhsl(226, 43%, 31%)
HSVhsv(226, 61%, 45%)
CMYKcmyk(60.5%, 46.5%, 0%, 55.3%)
CIE-LABlab(27.05, 11.16, -32.62)
CIE-LCHlch(27.05, 34.48, 288.89°)
OKLaboklab(37.51% -0.0017 -0.0929)
OKLCHoklch(37.51% 0.093 269)
XYZxyz(5.7872, 5.1098, 16.5977)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D72 #72622D
analogous
#2D5F72 #2D3D72 #3F2D72
triadic
#2D3D72 #722D3D #3D722D
tetradic
#2D3D72 #722D5F #72622D #2D723F
square
#2D3D72 #722D5F #72622D #2D723F
split-complementary
#2D3D72 #723F2D #5F722D
monochromatic
#0A0E1A #1C2646 #2D3D72 #3E549E #5B72BE

Accessibility & contrast

On white

10.39
#2D3D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D3D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D72
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D72#FFFFFF#000000##FFFFFF
##2D3D721.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3d72;
/* rgb */ color: rgb(45, 61, 114);
/* oklch */ color: oklch(37.5% 0.093 269.0);
Tailwind
colors: {
  custom: {
    50: '#6c729b',
    500: '#2d3d72',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d72;
$custom-light: #6c729b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d72",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 226.087,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.09294,
    "h": 269
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#2D3D72
secondary
#A39257
accent
#B655D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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