#2D3D71#2D3D71

#2D3D71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.091 H 268.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2D3D71
RGBrgb(45, 61, 113)
HSLhsl(226, 43%, 31%)
HSVhsv(226, 60%, 44%)
CMYKcmyk(60.2%, 46%, 0%, 55.7%)
CIE-LABlab(26.98, 10.79, -32.09)
CIE-LCHlch(26.98, 33.85, 288.59°)
OKLaboklab(37.44% -0.0019 -0.0913)
OKLCHoklch(37.44% 0.091 268.8)
XYZxyz(5.7306, 5.0872, 16.2995)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D71 #71612D
analogous
#2D5F71 #2D3D71 #3F2D71
triadic
#2D3D71 #712D3D #3D712D
tetradic
#2D3D71 #712D5F #71612D #2D713F
square
#2D3D71 #712D5F #71612D #2D713F
split-complementary
#2D3D71 #713F2D #5F712D
monochromatic
#0A0E19 #1C2545 #2D3D71 #3E559D #5B72BE

Accessibility & contrast

On white

10.41
#2D3D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3D71
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D71#FFFFFF#000000##FFFFFF
##2D3D711.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3d71;
/* rgb */ color: rgb(45, 61, 113);
/* oklch */ color: oklch(37.4% 0.091 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c729a',
    500: '#2d3d71',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d71;
$custom-light: #6c729a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d71",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 225.882,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3744,
    "c": 0.09137,
    "h": 268.8
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#2D3D71
secondary
#A39157
accent
#B555D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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