#2B4BB2#2B4BB2

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

Color values

HEX#2B4BB2
RGBrgb(43, 75, 178)
HSLhsl(226, 61%, 43%)
HSVhsv(226, 76%, 70%)
CMYKcmyk(75.8%, 57.9%, 0%, 30.2%)
CIE-LABlab(35.52, 25.57, -58.13)
CIE-LCHlch(35.52, 63.51, 293.75°)
OKLaboklab(45.36% -0.0104 -0.1678)
OKLCHoklch(45.36% 0.168 266.5)
XYZxyz(11.5454, 8.7588, 43.1930)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BB2 #B2922B
analogous
#2B8EB2 #2B4BB2 #4E2BB2
triadic
#2B4BB2 #B22B4B #4BB22B
tetradic
#2B4BB2 #B22B8E #B2922B #2BB24E
square
#2B4BB2 #B22B8E #B2922B #2BB24E
split-complementary
#2B4BB2 #B24E2B #8EB22B
monochromatic
#13214F #1F3681 #2B4BB2 #4869D3 #7991DF

Accessibility & contrast

On white

7.63
#2B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B4BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BB2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BB2#FFFFFF#000000##FFFFFF
##2B4BB21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4bb2;
/* rgb */ color: rgb(43, 75, 178);
/* oklch */ color: oklch(45.4% 0.168 266.5);
Tailwind
colors: {
  custom: {
    50: '#787cca',
    500: '#2b4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bb2;
$custom-light: #787cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bb2",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 225.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.16809,
    "h": 266.5
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2B4BB2
secondary
#C7B372
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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