#2B4FAA#2B4FAA

#2B4FAA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.152 H 264.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2B4FAA
RGBrgb(43, 79, 170)
HSLhsl(223, 60%, 42%)
HSVhsv(223, 75%, 67%)
CMYKcmyk(74.7%, 53.5%, 0%, 33.3%)
CIE-LABlab(36.00, 19.87, -52.60)
CIE-LCHlch(36.00, 56.23, 290.70°)
OKLaboklab(45.53% -0.014 -0.1514)
OKLCHoklch(45.53% 0.152 264.7)
XYZxyz(11.0454, 9.0066, 39.1788)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FAA #AA862B
analogous
#2B8FAA #2B4FAA #472BAA
triadic
#2B4FAA #AA2B4F #4FAA2B
tetradic
#2B4FAA #AA2B8F #AA862B #2BAA47
square
#2B4FAA #AA2B8F #AA862B #2BAA47
split-complementary
#2B4FAA #AA472B #8FAA2B
monochromatic
#122248 #1F3879 #2B4FAA #436BCF #7491DC

Accessibility & contrast

On white

7.50
#2B4FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4FAA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FAA#FFFFFF#000000##FFFFFF
##2B4FAA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4faa;
/* rgb */ color: rgb(43, 79, 170);
/* oklch */ color: oklch(45.5% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#767fc4',
    500: '#2b4faa',
    950: '#000000',
  },
}
SCSS
$custom: #2b4faa;
$custom-light: #767fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4faa",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 222.992,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.15208,
    "h": 264.7
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#2B4FAA
secondary
#C3AB6E
accent
#B645E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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