#2B4987#2B4987

#2B4987 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.110 H 263.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2B4987
RGBrgb(43, 73, 135)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(68.1%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.87, 10.49, -38.05)
CIE-LCHlch(31.87, 39.47, 285.41°)
OKLaboklab(41.62% -0.0132 -0.1087)
OKLCHoklch(41.62% 0.11 263.1)
XYZxyz(7.7504, 7.0272, 23.8649)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4987 #87692B
analogous
#2B7787 #2B4987 #3B2B87
triadic
#2B4987 #872B49 #49872B
tetradic
#2B4987 #872B77 #87692B #2B873B
square
#2B4987 #872B77 #87692B #2B873B
split-complementary
#2B4987 #873B2B #77872B
monochromatic
#0D172A #1C3059 #2B4987 #3A62B5 #6083CC

Accessibility & contrast

On white

8.73
#2B4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4987
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4987#FFFFFF#000000##FFFFFF
##2B49871.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4987;
/* rgb */ color: rgb(43, 73, 135);
/* oklch */ color: oklch(41.6% 0.110 263.1);
Tailwind
colors: {
  custom: {
    50: '#6f7baa',
    500: '#2b4987',
    950: '#000000',
  },
}
SCSS
$custom: #2b4987;
$custom-light: #6f7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4987",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 220.435,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.10954,
    "h": 263.1
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4987

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

Preview Lab → · Contrast checker → · Palette generator →

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