#2A497C#2A497C

#2A497C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.094 H 259.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2A497C
RGBrgb(42, 73, 124)
HSLhsl(217, 49%, 33%)
HSVhsv(217, 66%, 49%)
CMYKcmyk(66.1%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.14, 6.13, -32.40)
CIE-LCHlch(31.14, 32.97, 280.71°)
OKLaboklab(40.82% -0.0165 -0.0922)
OKLCHoklch(40.82% 0.094 259.8)
XYZxyz(6.9742, 6.7119, 19.9929)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A497C #7C5D2A
analogous
#2A727C #2A497C #342A7C
triadic
#2A497C #7C2A49 #497C2A
tetradic
#2A497C #7C2A72 #7C5D2A #2A7C34
square
#2A497C #7C2A72 #7C5D2A #2A7C34
split-complementary
#2A497C #7C342A #727C2A
monochromatic
#0B1321 #1B2E4E #2A497C #3964AA #5983C7

Accessibility & contrast

On white

8.96
#2A497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A497C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A497C#FFFFFF#000000##FFFFFF
##2A497C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a497c;
/* rgb */ color: rgb(42, 73, 124);
/* oklch */ color: oklch(40.8% 0.094 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7ba2',
    500: '#2a497c',
    950: '#000000',
  },
}
SCSS
$custom: #2a497c;
$custom-light: #6c7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a497c",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 217.317,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.09363,
    "h": 259.8
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#2A497C
secondary
#AD8C55
accent
#A54FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A497C

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

Preview Lab → · Contrast checker → · Palette generator →

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