#2B4CB0#2B4CB0

#2B4CB0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.164 H 266.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2B4CB0
RGBrgb(43, 76, 176)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(75.6%, 56.8%, 0%, 31%)
CIE-LABlab(35.63, 24.15, -56.77)
CIE-LCHlch(35.63, 61.69, 293.05°)
OKLaboklab(45.4% -0.0112 -0.1637)
OKLCHoklch(45.4% 0.164 266.1)
XYZxyz(11.4144, 8.8158, 42.1659)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CB0 #B08F2B
analogous
#2B8EB0 #2B4CB0 #4C2BB0
triadic
#2B4CB0 #B02B4C #4CB02B
tetradic
#2B4CB0 #B02B8E #B08F2B #2BB04C
square
#2B4CB0 #B02B8E #B08F2B #2BB04C
split-complementary
#2B4CB0 #B04C2B #8EB02B
monochromatic
#13224E #1F377F #2B4CB0 #4669D2 #7891DE

Accessibility & contrast

On white

7.60
#2B4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CB0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CB0#FFFFFF#000000##FFFFFF
##2B4CB01.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4cb0;
/* rgb */ color: rgb(43, 76, 176);
/* oklch */ color: oklch(45.4% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#787dc8',
    500: '#2b4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cb0;
$custom-light: #787dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cb0",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 225.113,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.16412,
    "h": 266.1
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#2B4CB0
secondary
#C6B171
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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