#2B497E#2B497E

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

Color values

HEX#2B497E
RGBrgb(43, 73, 126)
HSLhsl(218, 49%, 33%)
HSVhsv(218, 66%, 49%)
CMYKcmyk(65.9%, 42.1%, 0%, 50.6%)
CIE-LABlab(31.31, 7.08, -33.37)
CIE-LCHlch(31.31, 34.11, 281.98°)
OKLaboklab(41% -0.0151 -0.095)
OKLCHoklch(41% 0.096 261)
XYZxyz(7.1434, 6.7844, 20.6677)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B497E #7E602B
analogous
#2B727E #2B497E #362B7E
triadic
#2B497E #7E2B49 #497E2B
tetradic
#2B497E #7E2B72 #7E602B #2B7E36
square
#2B497E #7E2B72 #7E602B #2B7E36
split-complementary
#2B497E #7E362B #727E2B
monochromatic
#0C1423 #1B2F50 #2B497E #3B63AC #5C83C7

Accessibility & contrast

On white

8.91
#2B497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B497E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B497E#FFFFFF#000000##FFFFFF
##2B497E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.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: #2b497e;
/* rgb */ color: rgb(43, 73, 126);
/* oklch */ color: oklch(41.0% 0.096 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d7ba4',
    500: '#2b497e',
    950: '#000000',
  },
}
SCSS
$custom: #2b497e;
$custom-light: #6d7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b497e",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 218.313,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.09619,
    "h": 261
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2B497E
secondary
#AD8E58
accent
#A74FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B497E

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

Preview Lab → · Contrast checker → · Palette generator →

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