#2B56C2#2B56C2

#2B56C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.176 H 264.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2B56C2
RGBrgb(43, 86, 194)
HSLhsl(223, 64%, 46%)
HSVhsv(223, 78%, 76%)
CMYKcmyk(77.8%, 55.7%, 0%, 23.9%)
CIE-LABlab(39.69, 24.40, -60.74)
CIE-LCHlch(39.69, 65.46, 291.88°)
OKLaboklab(48.88% -0.0173 -0.1753)
OKLCHoklch(48.88% 0.176 264.4)
XYZxyz(14.0582, 11.0626, 52.4229)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56C2 #C2972B
analogous
#2BA2C2 #2B56C2 #4C2BC2
triadic
#2B56C2 #C22B56 #56C22B
tetradic
#2B56C2 #C22BA2 #C2972B #2BC24C
square
#2B56C2 #C22BA2 #C2972B #2BC24C
split-complementary
#2B56C2 #C24C2B #A2C22B
monochromatic
#152A5E #204090 #2B56C2 #5278D9 #849FE4

Accessibility & contrast

On white

6.54
#2B56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56C2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56C2#FFFFFF#000000##FFFFFF
##2B56C21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b56c2;
/* rgb */ color: rgb(43, 86, 194);
/* oklch */ color: oklch(48.9% 0.176 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c85d5',
    500: '#2b56c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b56c2;
$custom-light: #7c85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56c2",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 222.914,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.17612,
    "h": 264.4
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#2B56C2
secondary
#CDB67C
accent
#B841E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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