#2B4D87#2B4D87

#2B4D87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.105 H 260.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2B4D87
RGBrgb(43, 77, 135)
HSLhsl(218, 52%, 35%)
HSVhsv(218, 68%, 53%)
CMYKcmyk(68.1%, 43%, 0%, 47.1%)
CIE-LABlab(33.07, 7.81, -36.13)
CIE-LCHlch(33.07, 36.97, 282.20°)
OKLaboklab(42.54% -0.0174 -0.103)
OKLCHoklch(42.54% 0.105 260.4)
XYZxyz(8.0218, 7.5698, 23.9553)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D87 #87652B
analogous
#2B7B87 #2B4D87 #372B87
triadic
#2B4D87 #872B4D #4D872B
tetradic
#2B4D87 #872B7B #87652B #2B8737
square
#2B4D87 #872B7B #87652B #2B8737
split-complementary
#2B4D87 #87372B #7B872B
monochromatic
#0D182A #1C3359 #2B4D87 #3A67B5 #6088CC

Accessibility & contrast

On white

8.35
#2B4D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B4D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D87
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D87#FFFFFF#000000##FFFFFF
##2B4D871.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4d87;
/* rgb */ color: rgb(43, 77, 135);
/* oklch */ color: oklch(42.5% 0.105 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7eaa',
    500: '#2b4d87',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d87;
$custom-light: #6f7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d87",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 217.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.10451,
    "h": 260.4
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#2B4D87
secondary
#B2925B
accent
#A64DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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