#2B4DB0#2B4DB0

#2B4DB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.163 H 265.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4DB0
RGBrgb(43, 77, 176)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(75.6%, 56.2%, 0%, 31%)
CIE-LABlab(35.90, 23.49, -56.33)
CIE-LCHlch(35.90, 61.03, 292.64°)
OKLaboklab(45.6% -0.012 -0.1624)
OKLCHoklch(45.6% 0.163 265.8)
XYZxyz(11.4839, 8.9547, 42.1891)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DB0 #B08E2B
analogous
#2B8FB0 #2B4DB0 #4C2BB0
triadic
#2B4DB0 #B02B4D #4DB02B
tetradic
#2B4DB0 #B02B8F #B08E2B #2BB04C
square
#2B4DB0 #B02B8F #B08E2B #2BB04C
split-complementary
#2B4DB0 #B04C2B #8FB02B
monochromatic
#13224E #1F377F #2B4DB0 #466AD2 #7892DE

Accessibility & contrast

On white

7.52
#2B4DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B4DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DB0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DB0#FFFFFF#000000##FFFFFF
##2B4DB01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4db0;
/* rgb */ color: rgb(43, 77, 176);
/* oklch */ color: oklch(45.6% 0.163 265.8);
Tailwind
colors: {
  custom: {
    50: '#787ec8',
    500: '#2b4db0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4db0;
$custom-light: #787ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4db0",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 224.662,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.456,
    "c": 0.16288,
    "h": 265.8
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#2B4DB0
secondary
#C6B071
accent
#BB44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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