#2D497B#2D497B

#2D497B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.091 H 261.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2D497B
RGBrgb(45, 73, 123)
HSLhsl(218, 46%, 33%)
HSVhsv(218, 63%, 48%)
CMYKcmyk(63.4%, 40.7%, 0%, 51.8%)
CIE-LABlab(31.24, 6.36, -31.61)
CIE-LCHlch(31.24, 32.25, 281.38°)
OKLaboklab(40.92% -0.0139 -0.0898)
OKLCHoklch(40.92% 0.091 261.2)
XYZxyz(7.0386, 6.7524, 19.6675)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D497B #7B5F2D
analogous
#2D707B #2D497B #382D7B
triadic
#2D497B #7B2D49 #497B2D
tetradic
#2D497B #7B2D70 #7B5F2D #2D7B38
square
#2D497B #7B2D70 #7B5F2D #2D7B38
split-complementary
#2D497B #7B382D #707B2D
monochromatic
#0C1421 #1D2E4E #2D497B #3D64A8 #5E83C4

Accessibility & contrast

On white

8.93
#2D497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D497B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D497B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D497B#FFFFFF#000000##FFFFFF
##2D497B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d497b;
/* rgb */ color: rgb(45, 73, 123);
/* oklch */ color: oklch(40.9% 0.091 261.2);
Tailwind
colors: {
  custom: {
    50: '#6e7ba1',
    500: '#2d497b',
    950: '#000000',
  },
}
SCSS
$custom: #2d497b;
$custom-light: #6e7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d497b",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 218.462,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.09088,
    "h": 261.2
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#2D497B
secondary
#AB8D59
accent
#A752D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2D497B

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

Preview Lab → · Contrast checker → · Palette generator →

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