#2D4166#2D4166

#2D4166 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.069 H 262.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2D4166
RGBrgb(45, 65, 102)
HSLhsl(219, 39%, 29%)
HSVhsv(219, 56%, 40%)
CMYKcmyk(55.9%, 36.3%, 0%, 60%)
CIE-LABlab(27.57, 4.07, -24.14)
CIE-LCHlch(27.57, 24.48, 279.58°)
OKLaboklab(37.68% -0.0096 -0.0681)
OKLCHoklch(37.68% 0.069 262)
XYZxyz(5.3699, 5.2974, 13.3073)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4166 #66522D
analogous
#2D5E66 #2D4166 #362D66
triadic
#2D4166 #662D41 #41662D
tetradic
#2D4166 #662D5E #66522D #2D6636
square
#2D4166 #662D5E #66522D #2D6636
split-complementary
#2D4166 #66362D #5E662D
monochromatic
#090E15 #1A263C #2D4166 #405C90 #5879B5

Accessibility & contrast

On white

10.20
#2D4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4166
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4166#FFFFFF#000000##FFFFFF
##2D41661.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324468
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#10494E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d4166;
/* rgb */ color: rgb(45, 65, 102);
/* oklch */ color: oklch(37.7% 0.069 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a7592',
    500: '#2d4166',
    950: '#000000',
  },
}
SCSS
$custom: #2d4166;
$custom-light: #6a7592;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4166",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 218.947,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3768,
    "c": 0.06874,
    "h": 262
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#2D4166
secondary
#988157
accent
#A559CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2D4166

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

Preview Lab → · Contrast checker → · Palette generator →

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