#2D4367#2D4367

#2D4367 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.2% C 0.068 H 259.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2D4367
RGBrgb(45, 67, 103)
HSLhsl(217, 39%, 29%)
HSVhsv(217, 56%, 40%)
CMYKcmyk(56.3%, 35%, 0%, 59.6%)
CIE-LABlab(28.25, 3.09, -23.70)
CIE-LCHlch(28.25, 23.90, 277.43°)
OKLaboklab(38.23% -0.0119 -0.0668)
OKLCHoklch(38.23% 0.068 259.9)
XYZxyz(5.5367, 5.5511, 13.6090)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4367 #67512D
analogous
#2D6067 #2D4367 #342D67
triadic
#2D4367 #672D43 #43672D
tetradic
#2D4367 #672D60 #67512D #2D6734
square
#2D4367 #672D60 #67512D #2D6734
split-complementary
#2D4367 #67342D #60672D
monochromatic
#090E15 #1A273C #2D4367 #405F92 #587CB6

Accessibility & contrast

On white

9.95
#2D4367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D4367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4367
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4367#FFFFFF#000000##FFFFFF
##2D43671.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354669
Deuteranopia (green-blind)
#2E4066
Tritanopia (blue-blind)
#0E4B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4367;
/* rgb */ color: rgb(45, 67, 103);
/* oklch */ color: oklch(38.2% 0.068 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a7692',
    500: '#2d4367',
    950: '#000000',
  },
}
SCSS
$custom: #2d4367;
$custom-light: #6a7692;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4367",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 217.241,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.06785,
    "h": 259.9
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#2D4367
secondary
#998057
accent
#A259CF
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D4367

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

Preview Lab → · Contrast checker → · Palette generator →

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