#2D4366#2D4366

#2D4366 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.066 H 259.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2D4366
RGBrgb(45, 67, 102)
HSLhsl(217, 39%, 29%)
HSVhsv(217, 56%, 40%)
CMYKcmyk(55.9%, 34.3%, 0%, 60%)
CIE-LABlab(28.20, 2.73, -23.15)
CIE-LCHlch(28.20, 23.31, 276.74°)
OKLaboklab(38.17% -0.0122 -0.0652)
OKLCHoklch(38.17% 0.066 259.4)
XYZxyz(5.4868, 5.5311, 13.3463)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4366 #66502D
analogous
#2D6066 #2D4366 #342D66
triadic
#2D4366 #662D43 #43662D
tetradic
#2D4366 #662D60 #66502D #2D6634
square
#2D4366 #662D60 #66502D #2D6634
split-complementary
#2D4366 #66342D #60662D
monochromatic
#090E15 #1A273C #2D4366 #405F90 #587CB5

Accessibility & contrast

On white

9.97
#2D4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4366
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4366#FFFFFF#000000##FFFFFF
##2D43661.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354567
Deuteranopia (green-blind)
#2E4065
Tritanopia (blue-blind)
#0F4B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4366;
/* rgb */ color: rgb(45, 67, 102);
/* oklch */ color: oklch(38.2% 0.066 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a7692',
    500: '#2d4366',
    950: '#000000',
  },
}
SCSS
$custom: #2d4366;
$custom-light: #6a7692;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4366",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 216.842,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.06631,
    "h": 259.4
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#2D4366
secondary
#987F57
accent
#A159CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2D4366

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

Preview Lab → · Contrast checker → · Palette generator →

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