#2B4CAA#2B4CAA

#2B4CAA is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.156 H 265.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2B4CAA
RGBrgb(43, 76, 170)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 67%)
CMYKcmyk(74.7%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.17, 21.87, -53.94)
CIE-LCHlch(35.17, 58.21, 292.07°)
OKLaboklab(44.91% -0.0116 -0.1554)
OKLCHoklch(44.91% 0.156 265.7)
XYZxyz(10.8339, 8.5836, 39.1082)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CAA #AA892B
analogous
#2B8CAA #2B4CAA #492BAA
triadic
#2B4CAA #AA2B4C #4CAA2B
tetradic
#2B4CAA #AA2B8C #AA892B #2BAA49
square
#2B4CAA #AA2B8C #AA892B #2BAA49
split-complementary
#2B4CAA #AA492B #8CAA2B
monochromatic
#122048 #1F3679 #2B4CAA #4367CF #748FDC

Accessibility & contrast

On white

7.73
#2B4CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B4CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CAA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CAA#FFFFFF#000000##FFFFFF
##2B4CAA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4caa;
/* rgb */ color: rgb(43, 76, 170);
/* oklch */ color: oklch(44.9% 0.156 265.7);
Tailwind
colors: {
  custom: {
    50: '#777dc4',
    500: '#2b4caa',
    950: '#000000',
  },
}
SCSS
$custom: #2b4caa;
$custom-light: #777dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4caa",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 224.409,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.15587,
    "h": 265.7
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#2B4CAA
secondary
#C3AD6E
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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