#2D415E#2D415E

#2D415E is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.056 H 257.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2D415E
RGBrgb(45, 65, 94)
HSLhsl(216, 35%, 27%)
HSVhsv(216, 52%, 37%)
CMYKcmyk(52.1%, 30.9%, 0%, 63.1%)
CIE-LABlab(27.15, 1.27, -19.64)
CIE-LCHlch(27.15, 19.69, 273.70°)
OKLaboklab(37.22% -0.0121 -0.055)
OKLCHoklch(37.22% 0.056 257.6)
XYZxyz(4.9922, 5.1463, 11.3178)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D415E #5E4A2D
analogous
#2D5A5E #2D415E #312D5E
triadic
#2D415E #5E2D41 #415E2D
tetradic
#2D415E #5E2D5A #5E4A2D #2D5E31
square
#2D415E #5E2D5A #5E4A2D #2D5E31
split-complementary
#2D415E #5E312D #5A5E2D
monochromatic
#0A0E15 #192435 #2D415E #415E87 #577BAF

Accessibility & contrast

On white

10.35
#2D415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D415E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D415E#FFFFFF#000000##FFFFFF
##2D415E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36435F
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#18474B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d415e;
/* rgb */ color: rgb(45, 65, 94);
/* oklch */ color: oklch(37.2% 0.056 257.6);
Tailwind
colors: {
  custom: {
    50: '#69758b',
    500: '#2d415e',
    950: '#000000',
  },
}
SCSS
$custom: #2d415e;
$custom-light: #69758b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d415e",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 215.51,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.05635,
    "h": 257.6
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#2D415E
secondary
#907957
accent
#9E5DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2D415E

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

Preview Lab → · Contrast checker → · Palette generator →

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