#2A497E#2A497E

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

Color values

HEX#2A497E
RGBrgb(42, 73, 126)
HSLhsl(218, 50%, 33%)
HSVhsv(218, 67%, 49%)
CMYKcmyk(66.7%, 42.1%, 0%, 50.6%)
CIE-LABlab(31.26, 6.88, -33.45)
CIE-LCHlch(31.26, 34.15, 281.63°)
OKLaboklab(40.95% -0.016 -0.0952)
OKLCHoklch(40.95% 0.097 260.4)
XYZxyz(7.1020, 6.7630, 20.6657)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A497E #7E5F2A
analogous
#2A737E #2A497E #352A7E
triadic
#2A497E #7E2A49 #497E2A
tetradic
#2A497E #7E2A73 #7E5F2A #2A7E35
square
#2A497E #7E2A73 #7E5F2A #2A7E35
split-complementary
#2A497E #7E352A #737E2A
monochromatic
#0B1422 #1B2E50 #2A497E #3964AC #5A83C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A497E#FFFFFF#000000##FFFFFF
##2A497E1.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)
#314E80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a497e;
/* rgb */ color: rgb(42, 73, 126);
/* oklch */ color: oklch(41.0% 0.097 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ba4',
    500: '#2a497e',
    950: '#000000',
  },
}
SCSS
$custom: #2a497e;
$custom-light: #6d7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a497e",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 217.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.09659,
    "h": 260.4
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#2A497E
secondary
#AE8D56
accent
#A64EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A497E

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

Preview Lab → · Contrast checker → · Palette generator →

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