#2B4CC4#2B4CC4

#2B4CC4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.191 H 266.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B4CC4
RGBrgb(43, 76, 196)
HSLhsl(227, 64%, 47%)
HSVhsv(227, 78%, 77%)
CMYKcmyk(78.1%, 61.2%, 0%, 23.1%)
CIE-LABlab(37.24, 31.67, -65.90)
CIE-LCHlch(37.24, 73.12, 295.67°)
OKLaboklab(47.1% -0.0107 -0.1905)
OKLCHoklch(47.1% 0.191 266.8)
XYZxyz(13.5410, 9.6664, 53.3660)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CC4 #C4A32B
analogous
#2B99C4 #2B4CC4 #572BC4
triadic
#2B4CC4 #C42B4C #4CC42B
tetradic
#2B4CC4 #C42B99 #C4A32B #2BC457
square
#2B4CC4 #C42B99 #C4A32B #2BC457
split-complementary
#2B4CC4 #C4572B #99C42B
monochromatic
#152560 #203992 #2B4CC4 #5370D9 #859AE4

Accessibility & contrast

On white

7.16
#2B4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B4CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CC4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CC4#FFFFFF#000000##FFFFFF
##2B4CC41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4cc4;
/* rgb */ color: rgb(43, 76, 196);
/* oklch */ color: oklch(47.1% 0.191 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d7dd7',
    500: '#2b4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cc4;
$custom-light: #7d7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cc4",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 227.059,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.19085,
    "h": 266.8
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#2B4CC4
secondary
#CEBC7D
accent
#C341E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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