#2B56BD#2B56BD

#2B56BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.169 H 264.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2B56BD
RGBrgb(43, 86, 189)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 74%)
CMYKcmyk(77.2%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.31, 22.50, -58.43)
CIE-LCHlch(39.31, 62.61, 291.06°)
OKLaboklab(48.49% -0.0177 -0.1685)
OKLCHoklch(48.49% 0.169 264)
XYZxyz(13.5061, 10.8418, 49.5151)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56BD #BD922B
analogous
#2B9FBD #2B56BD #492BBD
triadic
#2B56BD #BD2B56 #56BD2B
tetradic
#2B56BD #BD2B9F #BD922B #2BBD49
square
#2B56BD #BD2B9F #BD922B #2BBD49
split-complementary
#2B56BD #BD492B #9FBD2B
monochromatic
#142959 #203F8B #2B56BD #4E77D7 #809DE2

Accessibility & contrast

On white

6.63
#2B56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56BD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56BD#FFFFFF#000000##FFFFFF
##2B56BD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b56bd;
/* rgb */ color: rgb(43, 86, 189);
/* oklch */ color: oklch(48.5% 0.169 264.0);
Tailwind
colors: {
  custom: {
    50: '#7a85d2',
    500: '#2b56bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b56bd;
$custom-light: #7a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56bd",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 222.329,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.1694,
    "h": 264
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#2B56BD
secondary
#CBB379
accent
#B642E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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