#2B497C#2B497C

#2B497C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.093 H 260.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B497C
RGBrgb(43, 73, 124)
HSLhsl(218, 49%, 33%)
HSVhsv(218, 65%, 49%)
CMYKcmyk(65.3%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.19, 6.33, -32.31)
CIE-LCHlch(31.19, 32.93, 281.08°)
OKLaboklab(40.87% -0.0156 -0.0919)
OKLCHoklch(40.87% 0.093 260.4)
XYZxyz(7.0156, 6.7333, 19.9948)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B497C #7C5E2B
analogous
#2B717C #2B497C #362B7C
triadic
#2B497C #7C2B49 #497C2B
tetradic
#2B497C #7C2B71 #7C5E2B #2B7C36
square
#2B497C #7C2B71 #7C5E2B #2B7C36
split-complementary
#2B497C #7C362B #717C2B
monochromatic
#0B1321 #1B2E4F #2B497C #3B64A9 #5B83C6

Accessibility & contrast

On white

8.95
#2B497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B497C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B497C#FFFFFF#000000##FFFFFF
##2B497C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b497c;
/* rgb */ color: rgb(43, 73, 124);
/* oklch */ color: oklch(40.9% 0.093 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ba2',
    500: '#2b497c',
    950: '#000000',
  },
}
SCSS
$custom: #2b497c;
$custom-light: #6d7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b497c",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 217.778,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.09321,
    "h": 260.4
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#2B497C
secondary
#AC8C57
accent
#A650D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2B497C

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

Preview Lab → · Contrast checker → · Palette generator →

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