#2B4886#2B4886

#2B4886 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.109 H 263.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B4886
RGBrgb(43, 72, 134)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 68%, 53%)
CMYKcmyk(67.9%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.51, 10.78, -38.02)
CIE-LCHlch(31.51, 39.52, 285.83°)
OKLaboklab(41.32% -0.0124 -0.1086)
OKLCHoklch(41.32% 0.109 263.5)
XYZxyz(7.6152, 6.8688, 23.4741)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4886 #86692B
analogous
#2B7686 #2B4886 #3C2B86
triadic
#2B4886 #862B48 #48862B
tetradic
#2B4886 #862B76 #86692B #2B863C
square
#2B4886 #862B76 #86692B #2B863C
split-complementary
#2B4886 #863C2B #76862B
monochromatic
#0D1629 #1C2F58 #2B4886 #3A61B4 #6082CC

Accessibility & contrast

On white

8.85
#2B4886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B4886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4886
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4886#FFFFFF#000000##FFFFFF
##2B48861.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4886;
/* rgb */ color: rgb(43, 72, 134);
/* oklch */ color: oklch(41.3% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f7aaa',
    500: '#2b4886',
    950: '#000000',
  },
}
SCSS
$custom: #2b4886;
$custom-light: #6f7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4886",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 220.879,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.10935,
    "h": 263.5
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#2B4886
secondary
#B2965B
accent
#AE4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4886

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

Preview Lab → · Contrast checker → · Palette generator →

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