#2B4773#2B4773

#2B4773 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.8% C 0.082 H 259.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2B4773
RGBrgb(43, 71, 115)
HSLhsl(217, 46%, 31%)
HSVhsv(217, 63%, 45%)
CMYKcmyk(62.6%, 38.3%, 0%, 54.9%)
CIE-LABlab(30.05, 4.31, -28.48)
CIE-LCHlch(30.05, 28.81, 278.60°)
OKLaboklab(39.82% -0.0155 -0.0807)
OKLCHoklch(39.82% 0.082 259.1)
XYZxyz(6.3429, 6.2573, 17.0899)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4773 #73572B
analogous
#2B6B73 #2B4773 #332B73
triadic
#2B4773 #732B47 #47732B
tetradic
#2B4773 #732B6B #73572B #2B7333
square
#2B4773 #732B6B #73572B #2B7333
split-complementary
#2B4773 #73332B #6B732B
monochromatic
#0A101A #1A2B46 #2B4773 #3C62A0 #5881C1

Accessibility & contrast

On white

9.33
#2B4773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B4773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4773
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4773#FFFFFF#000000##FFFFFF
##2B47731.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4773;
/* rgb */ color: rgb(43, 71, 115);
/* oklch */ color: oklch(39.8% 0.082 259.1);
Tailwind
colors: {
  custom: {
    50: '#6b799b',
    500: '#2b4773',
    950: '#000000',
  },
}
SCSS
$custom: #2b4773;
$custom-light: #6b799b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4773",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 216.667,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.08219,
    "h": 259.1
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#2B4773
secondary
#A58655
accent
#A253D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4773

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

Preview Lab → · Contrast checker → · Palette generator →

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