#2D4579#2D4579

#2D4579 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.093 H 264.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4579
RGBrgb(45, 69, 121)
HSLhsl(221, 46%, 33%)
HSVhsv(221, 63%, 47%)
CMYKcmyk(62.8%, 43%, 0%, 52.5%)
CIE-LABlab(29.90, 8.31, -32.49)
CIE-LCHlch(29.90, 33.54, 284.34°)
OKLaboklab(39.84% -0.0097 -0.0924)
OKLCHoklch(39.84% 0.093 264)
XYZxyz(6.6603, 6.1940, 18.9300)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4579 #79612D
analogous
#2D6B79 #2D4579 #3B2D79
triadic
#2D4579 #792D45 #45792D
tetradic
#2D4579 #792D6B #79612D #2D793B
square
#2D4579 #792D6B #79612D #2D793B
split-complementary
#2D4579 #793B2D #6B792D
monochromatic
#0C1220 #1C2C4C #2D4579 #3E5EA6 #5D7EC3

Accessibility & contrast

On white

9.38
#2D4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4579
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4579#FFFFFF#000000##FFFFFF
##2D45791.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4579;
/* rgb */ color: rgb(45, 69, 121);
/* oklch */ color: oklch(39.8% 0.093 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d78a0',
    500: '#2d4579',
    950: '#000000',
  },
}
SCSS
$custom: #2d4579;
$custom-light: #6d78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4579",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 221.053,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.09295,
    "h": 264
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#2D4579
secondary
#A99058
accent
#AC52D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4579

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

Preview Lab → · Contrast checker → · Palette generator →

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