#2D497E#2D497E

#2D497E is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.095 H 262.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D497E
RGBrgb(45, 73, 126)
HSLhsl(219, 47%, 34%)
HSVhsv(219, 64%, 49%)
CMYKcmyk(64.3%, 42.1%, 0%, 50.6%)
CIE-LABlab(31.41, 7.48, -33.20)
CIE-LCHlch(31.41, 34.03, 282.69°)
OKLaboklab(41.11% -0.0132 -0.0945)
OKLCHoklch(41.11% 0.095 262)
XYZxyz(7.2293, 6.8287, 20.6717)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D497E #7E622D
analogous
#2D717E #2D497E #392D7E
triadic
#2D497E #7E2D49 #497E2D
tetradic
#2D497E #7E2D71 #7E622D #2D7E39
square
#2D497E #7E2D71 #7E622D #2D7E39
split-complementary
#2D497E #7E392D #717E2D
monochromatic
#0D1524 #1D2F51 #2D497E #3D63AB #5F83C6

Accessibility & contrast

On white

8.88
#2D497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D497E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D497E#FFFFFF#000000##FFFFFF
##2D497E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d497e;
/* rgb */ color: rgb(45, 73, 126);
/* oklch */ color: oklch(41.1% 0.095 262.0);
Tailwind
colors: {
  custom: {
    50: '#6e7ba4',
    500: '#2d497e',
    950: '#000000',
  },
}
SCSS
$custom: #2d497e;
$custom-light: #6e7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d497e",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 219.259,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.09538,
    "h": 262
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#2D497E
secondary
#AC905A
accent
#A951D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D497E

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

Preview Lab → · Contrast checker → · Palette generator →

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