#2B4AAD#2B4AAD

#2B4AAD is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.163 H 266.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2B4AAD
RGBrgb(43, 74, 173)
HSLhsl(226, 60%, 42%)
HSVhsv(226, 75%, 68%)
CMYKcmyk(75.1%, 57.2%, 0%, 32.2%)
CIE-LABlab(34.86, 24.34, -56.24)
CIE-LCHlch(34.86, 61.28, 293.40°)
OKLaboklab(44.75% -0.0099 -0.1622)
OKLCHoklch(44.75% 0.163 266.5)
XYZxyz(10.9852, 8.4271, 40.5747)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AAD #AD8E2B
analogous
#2B8BAD #2B4AAD #4D2BAD
triadic
#2B4AAD #AD2B4A #4AAD2B
tetradic
#2B4AAD #AD2B8B #AD8E2B #2BAD4D
square
#2B4AAD #AD2B8B #AD8E2B #2BAD4D
split-complementary
#2B4AAD #AD4D2B #8BAD2B
monochromatic
#13204B #1F357C #2B4AAD #4566D1 #768EDD

Accessibility & contrast

On white

7.82
#2B4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B4AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AAD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AAD#FFFFFF#000000##FFFFFF
##2B4AAD1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4aad;
/* rgb */ color: rgb(43, 74, 173);
/* oklch */ color: oklch(44.7% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#777cc6',
    500: '#2b4aad',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aad;
$custom-light: #777cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aad",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 225.692,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.16252,
    "h": 266.5
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#2B4AAD
secondary
#C4B06F
accent
#BD44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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