#2B4DB9#2B4DB9

#2B4DB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.175 H 266.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2B4DB9
RGBrgb(43, 77, 185)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 77%, 73%)
CMYKcmyk(76.8%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.60, 26.90, -60.50)
CIE-LCHlch(36.60, 66.21, 293.97°)
OKLaboklab(46.35% -0.0115 -0.1747)
OKLCHoklch(46.35% 0.175 266.2)
XYZxyz(12.4040, 9.3227, 47.0353)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DB9 #B9972B
analogous
#2B94B9 #2B4DB9 #502BB9
triadic
#2B4DB9 #B92B4D #4DB92B
tetradic
#2B4DB9 #B92B94 #B9972B #2BB950
square
#2B4DB9 #B92B94 #B9972B #2BB950
split-complementary
#2B4DB9 #B9502B #94B92B
monochromatic
#142456 #1F3887 #2B4DB9 #4C6DD5 #7E95E1

Accessibility & contrast

On white

7.33
#2B4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B4DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DB9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DB9#FFFFFF#000000##FFFFFF
##2B4DB91.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4db9;
/* rgb */ color: rgb(43, 77, 185);
/* oklch */ color: oklch(46.3% 0.175 266.2);
Tailwind
colors: {
  custom: {
    50: '#7a7ecf',
    500: '#2b4db9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4db9;
$custom-light: #7a7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4db9",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 225.634,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.17508,
    "h": 266.2
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#2B4DB9
secondary
#C9B676
accent
#BE42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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