#2B4DAA#2B4DAA

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

Color values

HEX#2B4DAA
RGBrgb(43, 77, 170)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 67%)
CMYKcmyk(74.7%, 54.7%, 0%, 33.3%)
CIE-LABlab(35.44, 21.20, -53.50)
CIE-LCHlch(35.44, 57.55, 291.62°)
OKLaboklab(45.12% -0.0124 -0.1541)
OKLCHoklch(45.12% 0.155 265.4)
XYZxyz(10.9033, 8.7224, 39.1314)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DAA #AA882B
analogous
#2B8DAA #2B4DAA #492BAA
triadic
#2B4DAA #AA2B4D #4DAA2B
tetradic
#2B4DAA #AA2B8D #AA882B #2BAA49
square
#2B4DAA #AA2B8D #AA882B #2BAA49
split-complementary
#2B4DAA #AA492B #8DAA2B
monochromatic
#122148 #1F3779 #2B4DAA #4368CF #7490DC

Accessibility & contrast

On white

7.65
#2B4DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B4DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DAA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DAA#FFFFFF#000000##FFFFFF
##2B4DAA1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4daa;
/* rgb */ color: rgb(43, 77, 170);
/* oklch */ color: oklch(45.1% 0.155 265.4);
Tailwind
colors: {
  custom: {
    50: '#767ec4',
    500: '#2b4daa',
    950: '#000000',
  },
}
SCSS
$custom: #2b4daa;
$custom-light: #767ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4daa",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 223.937,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.15461,
    "h": 265.4
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#2B4DAA
secondary
#C3AC6E
accent
#B945E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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