#2B4CAC#2B4CAC

#2B4CAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.159 H 265.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2B4CAC
RGBrgb(43, 76, 172)
HSLhsl(225, 60%, 42%)
HSVhsv(225, 75%, 67%)
CMYKcmyk(75%, 55.8%, 0%, 32.5%)
CIE-LABlab(35.32, 22.63, -54.89)
CIE-LCHlch(35.32, 59.37, 292.41°)
OKLaboklab(45.07% -0.0114 -0.1582)
OKLCHoklch(45.07% 0.159 265.9)
XYZxyz(11.0245, 8.6598, 40.1122)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CAC #AC8B2B
analogous
#2B8DAC #2B4CAC #4A2BAC
triadic
#2B4CAC #AC2B4C #4CAC2B
tetradic
#2B4CAC #AC2B8D #AC8B2B #2BAC4A
square
#2B4CAC #AC2B8D #AC8B2B #2BAC4A
split-complementary
#2B4CAC #AC4A2B #8DAC2B
monochromatic
#13214A #1F367B #2B4CAC #4468D0 #758FDC

Accessibility & contrast

On white

7.69
#2B4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CAC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CAC#FFFFFF#000000##FFFFFF
##2B4CAC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4cac;
/* rgb */ color: rgb(43, 76, 172);
/* oklch */ color: oklch(45.1% 0.159 265.9);
Tailwind
colors: {
  custom: {
    50: '#777dc5',
    500: '#2b4cac',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cac;
$custom-light: #777dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cac",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 224.651,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.15863,
    "h": 265.9
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#2B4CAC
secondary
#C4AE6F
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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