#2B4FC4#2B4FC4

#2B4FC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.187 H 266.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2B4FC4
RGBrgb(43, 79, 196)
HSLhsl(226, 64%, 47%)
HSVhsv(226, 78%, 77%)
CMYKcmyk(78.1%, 59.7%, 0%, 23.1%)
CIE-LABlab(38.00, 29.72, -64.65)
CIE-LCHlch(38.00, 71.15, 294.69°)
OKLaboklab(47.67% -0.0126 -0.1868)
OKLCHoklch(47.67% 0.187 266.2)
XYZxyz(13.7525, 10.0895, 53.4365)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FC4 #C4A02B
analogous
#2B9CC4 #2B4FC4 #532BC4
triadic
#2B4FC4 #C42B4F #4FC42B
tetradic
#2B4FC4 #C42B9C #C4A02B #2BC453
square
#2B4FC4 #C42B9C #C4A02B #2BC453
split-complementary
#2B4FC4 #C4532B #9CC42B
monochromatic
#152760 #203B92 #2B4FC4 #5373D9 #859CE4

Accessibility & contrast

On white

6.96
#2B4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B4FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B4FC4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FC4#FFFFFF#000000##FFFFFF
##2B4FC41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b4fc4;
/* rgb */ color: rgb(43, 79, 196);
/* oklch */ color: oklch(47.7% 0.187 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fd7',
    500: '#2b4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fc4;
$custom-light: #7c7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fc4",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 225.882,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.18726,
    "h": 266.2
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#2B4FC4
secondary
#CEBB7D
accent
#C041E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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