#2B4FAE#2B4FAE

#2B4FAE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.158 H 265.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2B4FAE
RGBrgb(43, 79, 174)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(75.3%, 54.6%, 0%, 31.8%)
CIE-LABlab(36.29, 21.40, -54.50)
CIE-LCHlch(36.29, 58.55, 291.44°)
OKLaboklab(45.85% -0.0136 -0.157)
OKLCHoklch(45.85% 0.158 265)
XYZxyz(11.4295, 9.1603, 41.2019)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FAE #AE8A2B
analogous
#2B91AE #2B4FAE #482BAE
triadic
#2B4FAE #AE2B4F #4FAE2B
tetradic
#2B4FAE #AE2B91 #AE8A2B #2BAE48
square
#2B4FAE #AE2B91 #AE8A2B #2BAE48
split-complementary
#2B4FAE #AE482B #91AE2B
monochromatic
#13224C #1F397D #2B4FAE #456CD1 #7693DD

Accessibility & contrast

On white

7.41
#2B4FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B4FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FAE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FAE#FFFFFF#000000##FFFFFF
##2B4FAE1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4fae;
/* rgb */ color: rgb(43, 79, 174);
/* oklch */ color: oklch(45.9% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#777fc7',
    500: '#2b4fae',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fae;
$custom-light: #777fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fae",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 223.511,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.15763,
    "h": 265
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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