#2B4BAC#2B4BAC

#2B4BAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.160 H 266.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2B4BAC
RGBrgb(43, 75, 172)
HSLhsl(225, 60%, 42%)
HSVhsv(225, 75%, 67%)
CMYKcmyk(75%, 56.4%, 0%, 32.5%)
CIE-LABlab(35.05, 23.30, -55.33)
CIE-LCHlch(35.05, 60.03, 292.83°)
OKLaboklab(44.87% -0.0107 -0.1595)
OKLCHoklch(44.87% 0.16 266.2)
XYZxyz(10.9561, 8.5231, 40.0894)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BAC #AC8C2B
analogous
#2B8CAC #2B4BAC #4B2BAC
triadic
#2B4BAC #AC2B4B #4BAC2B
tetradic
#2B4BAC #AC2B8C #AC8C2B #2BAC4B
square
#2B4BAC #AC2B8C #AC8C2B #2BAC4B
split-complementary
#2B4BAC #AC4B2B #8CAC2B
monochromatic
#13204A #1F367B #2B4BAC #4467D0 #758FDC

Accessibility & contrast

On white

7.76
#2B4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B4BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BAC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BAC#FFFFFF#000000##FFFFFF
##2B4BAC1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4bac;
/* rgb */ color: rgb(43, 75, 172);
/* oklch */ color: oklch(44.9% 0.160 266.2);
Tailwind
colors: {
  custom: {
    50: '#777cc5',
    500: '#2b4bac',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bac;
$custom-light: #777cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bac",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 225.116,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44866,
    "c": 0.15989,
    "h": 266.2
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#2B4BAC
secondary
#C4AF6F
accent
#BC45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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