#2D4374#2D4374

#2D4374 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.088 H 264.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2D4374
RGBrgb(45, 67, 116)
HSLhsl(221, 44%, 32%)
HSVhsv(221, 61%, 45%)
CMYKcmyk(61.2%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.99, 7.81, -30.80)
CIE-LCHlch(28.99, 31.77, 284.23°)
OKLaboklab(39.04% -0.0085 -0.0875)
OKLCHoklch(39.04% 0.088 264.5)
XYZxyz(6.2407, 5.8326, 17.3166)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4374 #745E2D
analogous
#2D6774 #2D4374 #3B2D74
triadic
#2D4374 #742D43 #43742D
tetradic
#2D4374 #742D67 #745E2D #2D743B
square
#2D4374 #742D67 #745E2D #2D743B
split-complementary
#2D4374 #743B2D #67742D
monochromatic
#0B101C #1C2A48 #2D4374 #3E5CA0 #5C7BC0

Accessibility & contrast

On white

9.69
#2D4374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D4374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4374
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4374#FFFFFF#000000##FFFFFF
##2D43741.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#254173
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4374;
/* rgb */ color: rgb(45, 67, 116);
/* oklch */ color: oklch(39.0% 0.088 264.5);
Tailwind
colors: {
  custom: {
    50: '#6c769c',
    500: '#2d4374',
    950: '#000000',
  },
}
SCSS
$custom: #2d4374;
$custom-light: #6c769c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4374",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 221.408,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39042,
    "c": 0.0879,
    "h": 264.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#2D4374
secondary
#A58D57
accent
#AC54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4374

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

Preview Lab → · Contrast checker → · Palette generator →

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