#2B4BAE#2B4BAE

#2B4BAE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.163 H 266.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2B4BAE
RGBrgb(43, 75, 174)
HSLhsl(225, 60%, 43%)
HSVhsv(225, 75%, 68%)
CMYKcmyk(75.3%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.20, 24.06, -56.27)
CIE-LCHlch(35.20, 61.20, 293.15°)
OKLaboklab(45.03% -0.0106 -0.1623)
OKLCHoklch(45.03% 0.163 266.3)
XYZxyz(11.1496, 8.6005, 41.1086)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BAE #AE8E2B
analogous
#2B8CAE #2B4BAE #4D2BAE
triadic
#2B4BAE #AE2B4B #4BAE2B
tetradic
#2B4BAE #AE2B8C #AE8E2B #2BAE4D
square
#2B4BAE #AE2B8C #AE8E2B #2BAE4D
split-complementary
#2B4BAE #AE4D2B #8CAE2B
monochromatic
#13214C #1F367D #2B4BAE #4567D1 #768FDD

Accessibility & contrast

On white

7.72
#2B4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4BAE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BAE#FFFFFF#000000##FFFFFF
##2B4BAE1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4bae;
/* rgb */ color: rgb(43, 75, 174);
/* oklch */ color: oklch(45.0% 0.163 266.3);
Tailwind
colors: {
  custom: {
    50: '#787cc7',
    500: '#2b4bae',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bae;
$custom-light: #787cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bae",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 225.344,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.16263,
    "h": 266.3
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#2B4BAE
secondary
#C5B070
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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