#2B4EAE#2B4EAE

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

Color values

HEX#2B4EAE
RGBrgb(43, 78, 174)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(75.3%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.02, 22.06, -54.95)
CIE-LCHlch(36.02, 59.21, 291.88°)
OKLaboklab(45.64% -0.0129 -0.1584)
OKLCHoklch(45.64% 0.159 265.4)
XYZxyz(11.3579, 9.0171, 41.1781)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EAE #AE8B2B
analogous
#2B90AE #2B4EAE #492BAE
triadic
#2B4EAE #AE2B4E #4EAE2B
tetradic
#2B4EAE #AE2B90 #AE8B2B #2BAE49
square
#2B4EAE #AE2B90 #AE8B2B #2BAE49
split-complementary
#2B4EAE #AE492B #90AE2B
monochromatic
#13224C #1F387D #2B4EAE #456BD1 #7692DD

Accessibility & contrast

On white

7.49
#2B4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4EAE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EAE#FFFFFF#000000##FFFFFF
##2B4EAE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4eae;
/* rgb */ color: rgb(43, 78, 174);
/* oklch */ color: oklch(45.6% 0.159 265.4);
Tailwind
colors: {
  custom: {
    50: '#777fc7',
    500: '#2b4eae',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eae;
$custom-light: #777fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eae",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 223.969,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.15888,
    "h": 265.4
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#2B4EAE
secondary
#C5AE70
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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