#2B4EAC#2B4EAC

#2B4EAC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.156 H 265.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2B4EAC
RGBrgb(43, 78, 172)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 67%)
CMYKcmyk(75%, 54.7%, 0%, 32.5%)
CIE-LABlab(35.87, 21.30, -54.00)
CIE-LCHlch(35.87, 58.05, 291.53°)
OKLaboklab(45.48% -0.013 -0.1556)
OKLCHoklch(45.48% 0.156 265.2)
XYZxyz(11.1644, 8.9397, 40.1589)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EAC #AC892B
analogous
#2B8FAC #2B4EAC #492BAC
triadic
#2B4EAC #AC2B4E #4EAC2B
tetradic
#2B4EAC #AC2B8F #AC892B #2BAC49
square
#2B4EAC #AC2B8F #AC892B #2BAC49
split-complementary
#2B4EAC #AC492B #8FAC2B
monochromatic
#13224A #1F387B #2B4EAC #446AD0 #7591DC

Accessibility & contrast

On white

7.53
#2B4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B4EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EAC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EAC#FFFFFF#000000##FFFFFF
##2B4EAC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4eac;
/* rgb */ color: rgb(43, 78, 172);
/* oklch */ color: oklch(45.5% 0.156 265.2);
Tailwind
colors: {
  custom: {
    50: '#777fc5',
    500: '#2b4eac',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eac;
$custom-light: #777fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eac",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 223.721,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.15612,
    "h": 265.2
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#2B4EAC
secondary
#C4AD6F
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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