#2A497D#2A497D

#2A497D is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.095 H 260.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A497D
RGBrgb(42, 73, 125)
HSLhsl(218, 50%, 33%)
HSVhsv(218, 66%, 49%)
CMYKcmyk(66.4%, 41.6%, 0%, 51%)
CIE-LABlab(31.20, 6.51, -32.93)
CIE-LCHlch(31.20, 33.56, 281.18°)
OKLaboklab(40.89% -0.0163 -0.0937)
OKLCHoklch(40.89% 0.095 260.2)
XYZxyz(7.0377, 6.7373, 20.3276)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A497D #7D5E2A
analogous
#2A737D #2A497D #342A7D
triadic
#2A497D #7D2A49 #497D2A
tetradic
#2A497D #7D2A73 #7D5E2A #2A7D34
square
#2A497D #7D2A73 #7D5E2A #2A7D34
split-complementary
#2A497D #7D342A #737D2A
monochromatic
#0B1321 #1B2E4F #2A497D #3964AB #5A83C8

Accessibility & contrast

On white

8.95
#2A497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A497D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A497D#FFFFFF#000000##FFFFFF
##2A497D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a497d;
/* rgb */ color: rgb(42, 73, 125);
/* oklch */ color: oklch(40.9% 0.095 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ba3',
    500: '#2a497d',
    950: '#000000',
  },
}
SCSS
$custom: #2a497d;
$custom-light: #6d7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a497d",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 217.59,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.09511,
    "h": 260.2
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#2A497D
secondary
#AD8C56
accent
#A54FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A497D

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

Preview Lab → · Contrast checker → · Palette generator →

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