#2B4FB3#2B4FB3

#2B4FB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.164 H 265.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4FB3
RGBrgb(43, 79, 179)
HSLhsl(224, 61%, 44%)
HSVhsv(224, 76%, 70%)
CMYKcmyk(76%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.67, 23.31, -56.85)
CIE-LCHlch(36.67, 61.45, 292.29°)
OKLaboklab(46.25% -0.0133 -0.164)
OKLCHoklch(46.25% 0.164 265.4)
XYZxyz(11.9261, 9.3589, 43.8170)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FB3 #B38F2B
analogous
#2B93B3 #2B4FB3 #4B2BB3
triadic
#2B4FB3 #B32B4F #4FB32B
tetradic
#2B4FB3 #B32B93 #B38F2B #2BB34B
square
#2B4FB3 #B32B93 #B38F2B #2BB34B
split-complementary
#2B4FB3 #B34B2B #93B32B
monochromatic
#132350 #1F3982 #2B4FB3 #486DD3 #7994DF

Accessibility & contrast

On white

7.31
#2B4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B4FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FB3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FB3#FFFFFF#000000##FFFFFF
##2B4FB31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4fb3;
/* rgb */ color: rgb(43, 79, 179);
/* oklch */ color: oklch(46.3% 0.164 265.4);
Tailwind
colors: {
  custom: {
    50: '#787fca',
    500: '#2b4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fb3;
$custom-light: #787fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fb3",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 224.118,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.16449,
    "h": 265.4
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#2B4FB3
secondary
#C7B173
accent
#BA43E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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