#2B497A#2B497A

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

Color values

HEX#2B497A
RGBrgb(43, 73, 122)
HSLhsl(217, 48%, 32%)
HSVhsv(217, 65%, 48%)
CMYKcmyk(64.8%, 40.2%, 0%, 52.2%)
CIE-LABlab(31.07, 5.58, -31.25)
CIE-LCHlch(31.07, 31.75, 280.12°)
OKLaboklab(40.74% -0.0161 -0.0888)
OKLCHoklch(40.74% 0.09 259.7)
XYZxyz(6.8904, 6.6832, 19.3354)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B497A #7A5C2B
analogous
#2B717A #2B497A #342B7A
triadic
#2B497A #7A2B49 #497A2B
tetradic
#2B497A #7A2B71 #7A5C2B #2B7A34
square
#2B497A #7A2B71 #7A5C2B #2B7A34
split-complementary
#2B497A #7A342B #717A2B
monochromatic
#0B131F #1B2E4D #2B497A #3B64A7 #5A83C5

Accessibility & contrast

On white

8.99
#2B497A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B497A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B497A#FFFFFF#000000##FFFFFF
##2B497A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b497a;
/* rgb */ color: rgb(43, 73, 122);
/* oklch */ color: oklch(40.7% 0.090 259.7);
Tailwind
colors: {
  custom: {
    50: '#6c7ba1',
    500: '#2b497a',
    950: '#000000',
  },
}
SCSS
$custom: #2b497a;
$custom-light: #6c7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b497a",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 217.215,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.09023,
    "h": 259.7
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#2B497A
secondary
#AB8B56
accent
#A450D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B497A

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

Preview Lab → · Contrast checker → · Palette generator →

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