#2B4986#2B4986

#2B4986 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.108 H 262.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2B4986
RGBrgb(43, 73, 134)
HSLhsl(220, 51%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(67.9%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.81, 10.11, -37.54)
CIE-LCHlch(31.81, 38.88, 285.07°)
OKLaboklab(41.55% -0.0134 -0.1072)
OKLCHoklch(41.55% 0.108 262.9)
XYZxyz(7.6804, 6.9992, 23.4959)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4986 #86682B
analogous
#2B7686 #2B4986 #3B2B86
triadic
#2B4986 #862B49 #49862B
tetradic
#2B4986 #862B76 #86682B #2B863B
square
#2B4986 #862B76 #86682B #2B863B
split-complementary
#2B4986 #863B2B #76862B
monochromatic
#0D1729 #1C3058 #2B4986 #3A62B4 #6083CC

Accessibility & contrast

On white

8.75
#2B4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B4986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4986
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4986#FFFFFF#000000##FFFFFF
##2B49861.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4986;
/* rgb */ color: rgb(43, 73, 134);
/* oklch */ color: oklch(41.5% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#6f7baa',
    500: '#2b4986',
    950: '#000000',
  },
}
SCSS
$custom: #2b4986;
$custom-light: #6f7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4986",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 220.22,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.10807,
    "h": 262.9
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#2B4986
secondary
#B2955B
accent
#AC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4986

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

Preview Lab → · Contrast checker → · Palette generator →

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