#2B4FC2#2B4FC2

#2B4FC2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.185 H 266.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4FC2
RGBrgb(43, 79, 194)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(77.8%, 59.3%, 0%, 23.9%)
CIE-LABlab(37.84, 28.97, -63.75)
CIE-LCHlch(37.84, 70.02, 294.44°)
OKLaboklab(47.5% -0.0126 -0.1842)
OKLCHoklch(47.5% 0.185 266.1)
XYZxyz(13.5264, 9.9991, 52.2456)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FC2 #C29E2B
analogous
#2B9BC2 #2B4FC2 #522BC2
triadic
#2B4FC2 #C22B4F #4FC22B
tetradic
#2B4FC2 #C22B9B #C29E2B #2BC252
square
#2B4FC2 #C22B9B #C29E2B #2BC252
split-complementary
#2B4FC2 #C2522B #9BC22B
monochromatic
#15265E #203B90 #2B4FC2 #5272D9 #849BE4

Accessibility & contrast

On white

7.00
#2B4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2B4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B4FC2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FC2#FFFFFF#000000##FFFFFF
##2B4FC21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b4fc2;
/* rgb */ color: rgb(43, 79, 194);
/* oklch */ color: oklch(47.5% 0.185 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fd5',
    500: '#2b4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fc2;
$custom-light: #7c7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fc2",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 225.695,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.475,
    "c": 0.18463,
    "h": 266.1
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#2B4FC2
secondary
#CDBA7C
accent
#BF41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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