#2D4474#2D4474

#2D4474 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.087 H 263.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2D4474
RGBrgb(45, 68, 116)
HSLhsl(221, 44%, 32%)
HSVhsv(221, 61%, 45%)
CMYKcmyk(61.2%, 41.4%, 0%, 54.5%)
CIE-LABlab(29.29, 7.13, -30.31)
CIE-LCHlch(29.29, 31.14, 283.24°)
OKLaboklab(39.28% -0.0097 -0.086)
OKLCHoklch(39.28% 0.087 263.6)
XYZxyz(6.3006, 5.9526, 17.3365)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4474 #745D2D
analogous
#2D6874 #2D4474 #3A2D74
triadic
#2D4474 #742D44 #44742D
tetradic
#2D4474 #742D68 #745D2D #2D743A
square
#2D4474 #742D68 #745D2D #2D743A
split-complementary
#2D4474 #743A2D #68742D
monochromatic
#0B101C #1C2A48 #2D4474 #3E5EA0 #5C7CC0

Accessibility & contrast

On white

9.59
#2D4474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D4474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4474
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4474#FFFFFF#000000##FFFFFF
##2D44741.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4474;
/* rgb */ color: rgb(45, 68, 116);
/* oklch */ color: oklch(39.3% 0.087 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c779c',
    500: '#2d4474',
    950: '#000000',
  },
}
SCSS
$custom: #2d4474;
$custom-light: #6c779c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4474",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 116
  },
  "hsl": {
    "h": 220.563,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.08659,
    "h": 263.6
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#2D4474
secondary
#A58C57
accent
#AA54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4474

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

Preview Lab → · Contrast checker → · Palette generator →

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