#2D497C#2D497C

#2D497C is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.092 H 261.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D497C
RGBrgb(45, 73, 124)
HSLhsl(219, 47%, 33%)
HSVhsv(219, 64%, 49%)
CMYKcmyk(63.7%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.30, 6.73, -32.14)
CIE-LCHlch(31.30, 32.84, 281.83°)
OKLaboklab(40.98% -0.0137 -0.0914)
OKLCHoklch(40.98% 0.092 261.5)
XYZxyz(7.1016, 6.7776, 19.9988)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D497C #7C602D
analogous
#2D707C #2D497C #382D7C
triadic
#2D497C #7C2D49 #497C2D
tetradic
#2D497C #7C2D70 #7C602D #2D7C38
square
#2D497C #7C2D70 #7C602D #2D7C38
split-complementary
#2D497C #7C382D #707C2D
monochromatic
#0C1422 #1D2F4F #2D497C #3D63A9 #5F83C5

Accessibility & contrast

On white

8.91
#2D497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D497C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D497C#FFFFFF#000000##FFFFFF
##2D497C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d497c;
/* rgb */ color: rgb(45, 73, 124);
/* oklch */ color: oklch(41.0% 0.092 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ba2',
    500: '#2d497c',
    950: '#000000',
  },
}
SCSS
$custom: #2d497c;
$custom-light: #6e7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d497c",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 218.734,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.09238,
    "h": 261.5
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#2D497C
secondary
#AB8E5A
accent
#A751D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D497C

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

Preview Lab → · Contrast checker → · Palette generator →

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