#2B4E88#2B4E88

#2B4E88 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.105 H 259.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4E88
RGBrgb(43, 78, 136)
HSLhsl(217, 52%, 35%)
HSVhsv(217, 68%, 53%)
CMYKcmyk(68.4%, 42.6%, 0%, 46.7%)
CIE-LABlab(33.43, 7.53, -36.17)
CIE-LCHlch(33.43, 36.94, 281.75°)
OKLaboklab(42.84% -0.0183 -0.1031)
OKLCHoklch(42.84% 0.105 259.9)
XYZxyz(8.1630, 7.7391, 24.3514)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E88 #88652B
analogous
#2B7D88 #2B4E88 #362B88
triadic
#2B4E88 #882B4E #4E882B
tetradic
#2B4E88 #882B7D #88652B #2B8836
square
#2B4E88 #882B7D #88652B #2B8836
split-complementary
#2B4E88 #88362B #7D882B
monochromatic
#0E192B #1C335A #2B4E88 #3A69B6 #6189CD

Accessibility & contrast

On white

8.24
#2B4E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B4E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E88
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E88#FFFFFF#000000##FFFFFF
##2B4E881.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4e88;
/* rgb */ color: rgb(43, 78, 136);
/* oklch */ color: oklch(42.8% 0.105 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fab',
    500: '#2b4e88',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e88;
$custom-light: #6f7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e88",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 217.419,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.10474,
    "h": 259.9
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#2B4E88
secondary
#B3925C
accent
#A64CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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