#2B4FAC#2B4FAC

#2B4FAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.155 H 264.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2B4FAC
RGBrgb(43, 79, 172)
HSLhsl(223, 60%, 42%)
HSVhsv(223, 75%, 67%)
CMYKcmyk(75%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.14, 20.64, -53.55)
CIE-LCHlch(36.14, 57.39, 291.07°)
OKLaboklab(45.69% -0.0138 -0.1542)
OKLCHoklch(45.69% 0.155 264.9)
XYZxyz(11.2360, 9.0829, 40.1827)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FAC #AC882B
analogous
#2B90AC #2B4FAC #482BAC
triadic
#2B4FAC #AC2B4F #4FAC2B
tetradic
#2B4FAC #AC2B90 #AC882B #2BAC48
square
#2B4FAC #AC2B90 #AC882B #2BAC48
split-complementary
#2B4FAC #AC482B #90AC2B
monochromatic
#13224A #1F397B #2B4FAC #446BD0 #7592DC

Accessibility & contrast

On white

7.46
#2B4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B4FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FAC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FAC#FFFFFF#000000##FFFFFF
##2B4FAC1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4fac;
/* rgb */ color: rgb(43, 79, 172);
/* oklch */ color: oklch(45.7% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#777fc5',
    500: '#2b4fac',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fac;
$custom-light: #777fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fac",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 223.256,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.15487,
    "h": 264.9
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#2B4FAC
secondary
#C4AC6F
accent
#B745E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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