#2D415F#2D415F

#2D415F is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.3% C 0.058 H 258.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2D415F
RGBrgb(45, 65, 95)
HSLhsl(216, 36%, 27%)
HSVhsv(216, 53%, 37%)
CMYKcmyk(52.6%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.20, 1.61, -20.21)
CIE-LCHlch(27.20, 20.28, 274.56°)
OKLaboklab(37.27% -0.0118 -0.0567)
OKLCHoklch(37.27% 0.058 258.3)
XYZxyz(5.0373, 5.1644, 11.5556)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D415F #5F4B2D
analogous
#2D5A5F #2D415F #322D5F
triadic
#2D415F #5F2D41 #415F2D
tetradic
#2D415F #5F2D5A #5F4B2D #2D5F32
square
#2D415F #5F2D5A #5F4B2D #2D5F32
split-complementary
#2D415F #5F322D #5A5F2D
monochromatic
#0A0E15 #192535 #2D415F #415D89 #577AAF

Accessibility & contrast

On white

10.33
#2D415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D415F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D415F#FFFFFF#000000##FFFFFF
##2D415F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354360
Deuteranopia (green-blind)
#303E5E
Tritanopia (blue-blind)
#17484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d415f;
/* rgb */ color: rgb(45, 65, 95);
/* oklch */ color: oklch(37.3% 0.058 258.3);
Tailwind
colors: {
  custom: {
    50: '#69758c',
    500: '#2d415f',
    950: '#000000',
  },
}
SCSS
$custom: #2d415f;
$custom-light: #69758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d415f",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 216,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.05789,
    "h": 258.3
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#2D415F
secondary
#917A57
accent
#9F5CCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2D415F

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

Preview Lab → · Contrast checker → · Palette generator →

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