#2B4D8D#2B4D8D

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

Color values

HEX#2B4D8D
RGBrgb(43, 77, 141)
HSLhsl(219, 53%, 36%)
HSVhsv(219, 70%, 55%)
CMYKcmyk(69.5%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.44, 10.09, -39.22)
CIE-LCHlch(33.44, 40.50, 284.43°)
OKLaboklab(42.95% -0.0162 -0.1121)
OKLCHoklch(42.95% 0.113 261.8)
XYZxyz(8.4562, 7.7436, 26.2432)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D8D #8D6B2B
analogous
#2B7E8D #2B4D8D #3A2B8D
triadic
#2B4D8D #8D2B4D #4D8D2B
tetradic
#2B4D8D #8D2B7E #8D6B2B #2B8D3A
square
#2B4D8D #8D2B7E #8D6B2B #2B8D3A
split-complementary
#2B4D8D #8D3A2B #7E8D2B
monochromatic
#0E1A2F #1D335E #2B4D8D #3967BC #6389CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4D8D#FFFFFF#000000##FFFFFF
##2B4D8D1.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)
#2E538F
Deuteranopia (green-blind)
#1D4A8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4d8d;
/* rgb */ color: rgb(43, 77, 141);
/* oklch */ color: oklch(43.0% 0.113 261.8);
Tailwind
colors: {
  custom: {
    50: '#707eaf',
    500: '#2b4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d8d;
$custom-light: #707eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d8d",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 219.184,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.11327,
    "h": 261.8
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#2B4D8D
secondary
#B6975E
accent
#AA4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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