#2B497F#2B497F

#2B497F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.098 H 261.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2B497F
RGBrgb(43, 73, 127)
HSLhsl(219, 49%, 33%)
HSVhsv(219, 66%, 50%)
CMYKcmyk(66.1%, 42.5%, 0%, 50.2%)
CIE-LABlab(31.37, 7.46, -33.90)
CIE-LCHlch(31.37, 34.71, 282.40°)
OKLaboklab(41.07% -0.0149 -0.0965)
OKLCHoklch(41.07% 0.098 261.2)
XYZxyz(7.2082, 6.8103, 21.0092)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B497F #7F612B
analogous
#2B737F #2B497F #372B7F
triadic
#2B497F #7F2B49 #497F2B
tetradic
#2B497F #7F2B73 #7F612B #2B7F37
square
#2B497F #7F2B73 #7F612B #2B7F37
split-complementary
#2B497F #7F372B #737F2B
monochromatic
#0C1424 #1C2F51 #2B497F #3A63AD #5C83C8

Accessibility & contrast

On white

8.89
#2B497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B497F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B497F#FFFFFF#000000##FFFFFF
##2B497F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b497f;
/* rgb */ color: rgb(43, 73, 127);
/* oklch */ color: oklch(41.1% 0.098 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ba4',
    500: '#2b497f',
    950: '#000000',
  },
}
SCSS
$custom: #2b497f;
$custom-light: #6d7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b497f",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 218.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.09768,
    "h": 261.2
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#2B497F
secondary
#AE8F58
accent
#A84FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B497F

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

Preview Lab → · Contrast checker → · Palette generator →

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