#2A497A#2A497A

#2A497A is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.091 H 259.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2A497A
RGBrgb(42, 73, 122)
HSLhsl(217, 49%, 32%)
HSVhsv(217, 66%, 48%)
CMYKcmyk(65.6%, 40.2%, 0%, 52.2%)
CIE-LABlab(31.02, 5.37, -31.34)
CIE-LCHlch(31.02, 31.79, 279.73°)
OKLaboklab(40.69% -0.017 -0.089)
OKLCHoklch(40.69% 0.091 259.2)
XYZxyz(6.8490, 6.6618, 19.3335)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A497A #7A5B2A
analogous
#2A717A #2A497A #332A7A
triadic
#2A497A #7A2A49 #497A2A
tetradic
#2A497A #7A2A71 #7A5B2A #2A7A33
square
#2A497A #7A2A71 #7A5B2A #2A7A33
split-complementary
#2A497A #7A332A #717A2A
monochromatic
#0B131F #1A2E4C #2A497A #3A64A8 #5983C6

Accessibility & contrast

On white

9.00
#2A497A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A497A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A497A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A497A#FFFFFF#000000##FFFFFF
##2A497A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#284679
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a497a;
/* rgb */ color: rgb(42, 73, 122);
/* oklch */ color: oklch(40.7% 0.091 259.2);
Tailwind
colors: {
  custom: {
    50: '#6c7ba1',
    500: '#2a497a',
    950: '#000000',
  },
}
SCSS
$custom: #2a497a;
$custom-light: #6c7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a497a",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 216.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.09066,
    "h": 259.2
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#2A497A
secondary
#AB8A55
accent
#A34FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2A497A

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

Preview Lab → · Contrast checker → · Palette generator →

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