#2B4DA1#2B4DA1

#2B4DA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.142 H 264.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2B4DA1
RGBrgb(43, 77, 161)
HSLhsl(223, 58%, 40%)
HSVhsv(223, 73%, 63%)
CMYKcmyk(73.3%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.79, 17.76, -49.17)
CIE-LCHlch(34.79, 52.28, 289.86°)
OKLaboklab(44.41% -0.0132 -0.1414)
OKLCHoklch(44.41% 0.142 264.7)
XYZxyz(10.0809, 8.3935, 34.8001)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA1 #A17F2B
analogous
#2B88A1 #2B4DA1 #442BA1
triadic
#2B4DA1 #A12B4D #4DA12B
tetradic
#2B4DA1 #A12B88 #A17F2B #2BA144
square
#2B4DA1 #A12B88 #A17F2B #2BA144
split-complementary
#2B4DA1 #A1442B #88A12B
monochromatic
#111F40 #1E3671 #2B4DA1 #3E67CB #6E8DD8

Accessibility & contrast

On white

7.84
#2B4DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B4DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DA1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA1#FFFFFF#000000##FFFFFF
##2B4DA11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4da1;
/* rgb */ color: rgb(43, 77, 161);
/* oklch */ color: oklch(44.4% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#747ebd',
    500: '#2b4da1',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da1;
$custom-light: #747ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da1",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 222.712,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.14201,
    "h": 264.7
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#2B4DA1
secondary
#BFA669
accent
#B547E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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