#2B4FA4#2B4FA4

#2B4FA4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.144 H 264.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA4
RGBrgb(43, 79, 164)
HSLhsl(222, 58%, 41%)
HSVhsv(222, 74%, 64%)
CMYKcmyk(73.8%, 51.8%, 0%, 35.7%)
CIE-LABlab(35.57, 17.57, -49.72)
CIE-LCHlch(35.57, 52.73, 289.47°)
OKLaboklab(45.07% -0.0146 -0.143)
OKLCHoklch(45.07% 0.144 264.2)
XYZxyz(10.4907, 8.7848, 36.2575)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA4 #A4802B
analogous
#2B8BA4 #2B4FA4 #442BA4
triadic
#2B4FA4 #A42B4F #4FA42B
tetradic
#2B4FA4 #A42B8B #A4802B #2BA444
square
#2B4FA4 #A42B8B #A4802B #2BA444
split-complementary
#2B4FA4 #A4442B #8BA42B
monochromatic
#122043 #1E3874 #2B4FA4 #3F69CD #708FD9

Accessibility & contrast

On white

7.62
#2B4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA4#FFFFFF#000000##FFFFFF
##2B4FA41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4fa4;
/* rgb */ color: rgb(43, 79, 164);
/* oklch */ color: oklch(45.1% 0.144 264.2);
Tailwind
colors: {
  custom: {
    50: '#757fc0',
    500: '#2b4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa4;
$custom-light: #757fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa4",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 222.149,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.1437,
    "h": 264.2
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#2B4FA4
secondary
#C1A76A
accent
#B346E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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