#2B4EAD#2B4EAD

#2B4EAD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.158 H 265.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2B4EAD
RGBrgb(43, 78, 173)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(75.1%, 54.9%, 0%, 32.2%)
CIE-LABlab(35.94, 21.68, -54.48)
CIE-LCHlch(35.94, 58.63, 291.70°)
OKLaboklab(45.56% -0.0129 -0.157)
OKLCHoklch(45.56% 0.158 265.3)
XYZxyz(11.2608, 8.9783, 40.6666)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EAD #AD8A2B
analogous
#2B8FAD #2B4EAD #492BAD
triadic
#2B4EAD #AD2B4E #4EAD2B
tetradic
#2B4EAD #AD2B8F #AD8A2B #2BAD49
square
#2B4EAD #AD2B8F #AD8A2B #2BAD49
split-complementary
#2B4EAD #AD492B #8FAD2B
monochromatic
#13224B #1F387C #2B4EAD #456AD1 #7691DD

Accessibility & contrast

On white

7.51
#2B4EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B4EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EAD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EAD#FFFFFF#000000##FFFFFF
##2B4EAD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4ead;
/* rgb */ color: rgb(43, 78, 173);
/* oklch */ color: oklch(45.6% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#777fc6',
    500: '#2b4ead',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ead;
$custom-light: #777fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ead",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 223.846,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.1575,
    "h": 265.3
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#2B4EAD
secondary
#C4AE6F
accent
#B944E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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