#2B4FA7#2B4FA7

#2B4FA7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.148 H 264.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA7
RGBrgb(43, 79, 167)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 74%, 65%)
CMYKcmyk(74.3%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.78, 18.72, -51.17)
CIE-LCHlch(35.78, 54.48, 290.10°)
OKLaboklab(45.3% -0.0143 -0.1472)
OKLCHoklch(45.3% 0.148 264.5)
XYZxyz(10.7648, 8.8944, 37.7012)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA7 #A7832B
analogous
#2B8DA7 #2B4FA7 #452BA7
triadic
#2B4FA7 #A72B4F #4FA72B
tetradic
#2B4FA7 #A72B8D #A7832B #2BA745
square
#2B4FA7 #A72B8D #A7832B #2BA745
split-complementary
#2B4FA7 #A7452B #8DA72B
monochromatic
#122146 #1E3876 #2B4FA7 #416ACE #7290DB

Accessibility & contrast

On white

7.56
#2B4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B4FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA7#FFFFFF#000000##FFFFFF
##2B4FA71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4fa7;
/* rgb */ color: rgb(43, 79, 167);
/* oklch */ color: oklch(45.3% 0.148 264.5);
Tailwind
colors: {
  custom: {
    50: '#767fc2',
    500: '#2b4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa7;
$custom-light: #767fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa7",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 222.581,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45301,
    "c": 0.14791,
    "h": 264.5
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#2B4FA7
secondary
#C2A96C
accent
#B546E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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