#2A497B#2A497B

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

Color values

HEX#2A497B
RGBrgb(42, 73, 123)
HSLhsl(217, 49%, 32%)
HSVhsv(217, 66%, 48%)
CMYKcmyk(65.9%, 40.7%, 0%, 51.8%)
CIE-LABlab(31.08, 5.75, -31.87)
CIE-LCHlch(31.08, 32.38, 280.23°)
OKLaboklab(40.76% -0.0167 -0.0906)
OKLCHoklch(40.76% 0.092 259.5)
XYZxyz(6.9113, 6.6867, 19.6615)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A497B #7B5C2A
analogous
#2A727B #2A497B #332A7B
triadic
#2A497B #7B2A49 #497B2A
tetradic
#2A497B #7B2A72 #7B5C2A #2A7B33
square
#2A497B #7B2A72 #7B5C2A #2A7B33
split-complementary
#2A497B #7B332A #727B2A
monochromatic
#0B1320 #1A2E4D #2A497B #3A64A9 #5983C6

Accessibility & contrast

On white

8.98
#2A497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A497B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A497B#FFFFFF#000000##FFFFFF
##2A497B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a497b;
/* rgb */ color: rgb(42, 73, 123);
/* oklch */ color: oklch(40.8% 0.092 259.5);
Tailwind
colors: {
  custom: {
    50: '#6c7ba1',
    500: '#2a497b',
    950: '#000000',
  },
}
SCSS
$custom: #2a497b;
$custom-light: #6c7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a497b",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 217.037,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.09214,
    "h": 259.5
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#2A497B
secondary
#AC8B55
accent
#A44FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2A497B

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

Preview Lab → · Contrast checker → · Palette generator →

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