#2B56C0#2B56C0

#2B56C0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.173 H 264.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2B56C0
RGBrgb(43, 86, 192)
HSLhsl(223, 63%, 46%)
HSVhsv(223, 78%, 75%)
CMYKcmyk(77.6%, 55.2%, 0%, 24.7%)
CIE-LABlab(39.54, 23.64, -59.82)
CIE-LCHlch(39.54, 64.32, 291.56°)
OKLaboklab(48.72% -0.0174 -0.1726)
OKLCHoklch(48.72% 0.173 264.2)
XYZxyz(13.8351, 10.9734, 51.2479)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56C0 #C0952B
analogous
#2BA0C0 #2B56C0 #4B2BC0
triadic
#2B56C0 #C02B56 #56C02B
tetradic
#2B56C0 #C02BA0 #C0952B #2BC04B
square
#2B56C0 #C02BA0 #C0952B #2BC04B
split-complementary
#2B56C0 #C04B2B #A0C02B
monochromatic
#15295C #20408E #2B56C0 #5077D8 #829EE3

Accessibility & contrast

On white

6.57
#2B56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B56C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56C0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56C0#FFFFFF#000000##FFFFFF
##2B56C01.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b56c0;
/* rgb */ color: rgb(43, 86, 192);
/* oklch */ color: oklch(48.7% 0.173 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b85d4',
    500: '#2b56c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b56c0;
$custom-light: #7b85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56c0",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 192
  },
  "hsl": {
    "h": 222.685,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.17344,
    "h": 264.2
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#2B56C0
secondary
#CCB57B
accent
#B741E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B56C0

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

Preview Lab → · Contrast checker → · Palette generator →

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