#2B4FB6#2B4FB6

#2B4FB6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.169 H 265.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B4FB6
RGBrgb(43, 79, 182)
HSLhsl(224, 62%, 44%)
HSVhsv(224, 76%, 71%)
CMYKcmyk(76.4%, 56.6%, 0%, 28.6%)
CIE-LABlab(36.90, 24.45, -58.25)
CIE-LCHlch(36.90, 63.17, 292.77°)
OKLaboklab(46.5% -0.0131 -0.1681)
OKLCHoklch(46.5% 0.169 265.5)
XYZxyz(12.2328, 9.4816, 45.4323)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FB6 #B6922B
analogous
#2B95B6 #2B4FB6 #4C2BB6
triadic
#2B4FB6 #B62B4F #4FB62B
tetradic
#2B4FB6 #B62B95 #B6922B #2BB64C
square
#2B4FB6 #B62B95 #B6922B #2BB64C
split-complementary
#2B4FB6 #B64C2B #95B62B
monochromatic
#142453 #1F3A84 #2B4FB6 #4A6ED4 #7B95E0

Accessibility & contrast

On white

7.25
#2B4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B4FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FB6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FB6#FFFFFF#000000##FFFFFF
##2B4FB61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4fb6;
/* rgb */ color: rgb(43, 79, 182);
/* oklch */ color: oklch(46.5% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#797fcd',
    500: '#2b4fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fb6;
$custom-light: #797fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fb6",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 224.46,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.16857,
    "h": 265.5
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#2B4FB6
secondary
#C8B375
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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