#2B4979#2B4979

#2B4979 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.089 H 259.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2B4979
RGBrgb(43, 73, 121)
HSLhsl(217, 48%, 32%)
HSVhsv(217, 64%, 47%)
CMYKcmyk(64.5%, 39.7%, 0%, 52.5%)
CIE-LABlab(31.02, 5.20, -30.72)
CIE-LCHlch(31.02, 31.16, 279.61°)
OKLaboklab(40.68% -0.0163 -0.0872)
OKLCHoklch(40.68% 0.089 259.4)
XYZxyz(6.8288, 6.6585, 19.0108)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4979 #795B2B
analogous
#2B7079 #2B4979 #342B79
triadic
#2B4979 #792B49 #49792B
tetradic
#2B4979 #792B70 #795B2B #2B7934
square
#2B4979 #792B70 #795B2B #2B7934
split-complementary
#2B4979 #79342B #70792B
monochromatic
#0B131F #1B2E4C #2B4979 #3B64A6 #5A83C4

Accessibility & contrast

On white

9.01
#2B4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4979
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4979#FFFFFF#000000##FFFFFF
##2B49791.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#294678
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4979;
/* rgb */ color: rgb(43, 73, 121);
/* oklch */ color: oklch(40.7% 0.089 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7ba0',
    500: '#2b4979',
    950: '#000000',
  },
}
SCSS
$custom: #2b4979;
$custom-light: #6c7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4979",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 216.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.08874,
    "h": 259.4
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#2B4979
secondary
#AA8A56
accent
#A351D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4979

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

Preview Lab → · Contrast checker → · Palette generator →

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