#2B4FA1#2B4FA1

#2B4FA1 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.139 H 263.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA1
RGBrgb(43, 79, 161)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(73.3%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.36, 16.42, -48.26)
CIE-LCHlch(35.36, 50.98, 288.79°)
OKLaboklab(44.84% -0.015 -0.1387)
OKLCHoklch(44.84% 0.139 263.8)
XYZxyz(10.2230, 8.6777, 34.8475)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA1 #A17D2B
analogous
#2B8AA1 #2B4FA1 #422BA1
triadic
#2B4FA1 #A12B4F #4FA12B
tetradic
#2B4FA1 #A12B8A #A17D2B #2BA142
square
#2B4FA1 #A12B8A #A17D2B #2BA142
split-complementary
#2B4FA1 #A1422B #8AA12B
monochromatic
#112040 #1E3771 #2B4FA1 #3E69CB #6E8ED8

Accessibility & contrast

On white

7.68
#2B4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA1#FFFFFF#000000##FFFFFF
##2B4FA11.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4fa1;
/* rgb */ color: rgb(43, 79, 161);
/* oklch */ color: oklch(44.8% 0.139 263.8);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2b4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa1;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa1",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 221.695,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.13947,
    "h": 263.8
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#2B4FA1
secondary
#BFA569
accent
#B247E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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