#2B497B#2B497B

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

Color values

HEX#2B497B
RGBrgb(43, 73, 123)
HSLhsl(218, 48%, 33%)
HSVhsv(218, 65%, 48%)
CMYKcmyk(65%, 40.7%, 0%, 51.8%)
CIE-LABlab(31.13, 5.95, -31.78)
CIE-LCHlch(31.13, 32.34, 280.60°)
OKLaboklab(40.81% -0.0158 -0.0903)
OKLCHoklch(40.81% 0.092 260.1)
XYZxyz(6.9527, 6.7081, 19.6634)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B497B #7B5D2B
analogous
#2B717B #2B497B #352B7B
triadic
#2B497B #7B2B49 #497B2B
tetradic
#2B497B #7B2B71 #7B5D2B #2B7B35
square
#2B497B #7B2B71 #7B5D2B #2B7B35
split-complementary
#2B497B #7B352B #717B2B
monochromatic
#0B1320 #1B2E4E #2B497B #3B64A8 #5B83C6

Accessibility & contrast

On white

8.97
#2B497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B497B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B497B#FFFFFF#000000##FFFFFF
##2B497B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b497b;
/* rgb */ color: rgb(43, 73, 123);
/* oklch */ color: oklch(40.8% 0.092 260.1);
Tailwind
colors: {
  custom: {
    50: '#6d7ba1',
    500: '#2b497b',
    950: '#000000',
  },
}
SCSS
$custom: #2b497b;
$custom-light: #6d7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b497b",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 217.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.09172,
    "h": 260.1
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#2B497B
secondary
#AB8C56
accent
#A550D8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B497B

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

Preview Lab → · Contrast checker → · Palette generator →

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