#2B4973#2B4973

#2B4973 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.080 H 257.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2B4973
RGBrgb(43, 73, 115)
HSLhsl(215, 46%, 31%)
HSVhsv(215, 63%, 45%)
CMYKcmyk(62.6%, 36.5%, 0%, 54.9%)
CIE-LABlab(30.68, 2.98, -27.49)
CIE-LCHlch(30.68, 27.66, 276.18°)
OKLaboklab(40.31% -0.0179 -0.0778)
OKLCHoklch(40.31% 0.08 257)
XYZxyz(6.4722, 6.5159, 17.1330)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4973 #73552B
analogous
#2B6D73 #2B4973 #312B73
triadic
#2B4973 #732B49 #49732B
tetradic
#2B4973 #732B6D #73552B #2B7331
square
#2B4973 #732B6D #73552B #2B7331
split-complementary
#2B4973 #73312B #6D732B
monochromatic
#0A101A #1A2D46 #2B4973 #3C65A0 #5883C1

Accessibility & contrast

On white

9.12
#2B4973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B4973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4973
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4973#FFFFFF#000000##FFFFFF
##2B49731.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C75
Deuteranopia (green-blind)
#2E4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4973;
/* rgb */ color: rgb(43, 73, 115);
/* oklch */ color: oklch(40.3% 0.080 257.0);
Tailwind
colors: {
  custom: {
    50: '#6b7b9b',
    500: '#2b4973',
    950: '#000000',
  },
}
SCSS
$custom: #2b4973;
$custom-light: #6b7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4973",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 215,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.07985,
    "h": 257
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#2B4973
secondary
#A58455
accent
#9F53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4973

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

Preview Lab → · Contrast checker → · Palette generator →

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