#2B4DAE#2B4DAE

#2B4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.160 H 265.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2B4DAE
RGBrgb(43, 77, 174)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(75.3%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.74, 22.73, -55.39)
CIE-LCHlch(35.74, 59.87, 292.31°)
OKLaboklab(45.44% -0.0121 -0.1597)
OKLCHoklch(45.44% 0.16 265.7)
XYZxyz(11.2874, 8.8761, 41.1546)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DAE #AE8C2B
analogous
#2B8FAE #2B4DAE #4A2BAE
triadic
#2B4DAE #AE2B4D #4DAE2B
tetradic
#2B4DAE #AE2B8F #AE8C2B #2BAE4A
square
#2B4DAE #AE2B8F #AE8C2B #2BAE4A
split-complementary
#2B4DAE #AE4A2B #8FAE2B
monochromatic
#13224C #1F377D #2B4DAE #4569D1 #7691DD

Accessibility & contrast

On white

7.57
#2B4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B4DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DAE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DAE#FFFFFF#000000##FFFFFF
##2B4DAE1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4dae;
/* rgb */ color: rgb(43, 77, 174);
/* oklch */ color: oklch(45.4% 0.160 265.7);
Tailwind
colors: {
  custom: {
    50: '#777ec7',
    500: '#2b4dae',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dae;
$custom-light: #777ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dae",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 224.427,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.16014,
    "h": 265.7
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#2B4DAE
secondary
#C5AF70
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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