#2B56BB#2B56BB

#2B56BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.167 H 263.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2B56BB
RGBrgb(43, 86, 187)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 73%)
CMYKcmyk(77%, 54%, 0%, 26.7%)
CIE-LABlab(39.17, 21.74, -57.50)
CIE-LCHlch(39.17, 61.47, 290.71°)
OKLaboklab(48.33% -0.0179 -0.1657)
OKLCHoklch(48.33% 0.167 263.8)
XYZxyz(13.2905, 10.7555, 48.3796)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56BB #BB902B
analogous
#2B9EBB #2B56BB #482BBB
triadic
#2B56BB #BB2B56 #56BB2B
tetradic
#2B56BB #BB2B9E #BB902B #2BBB48
square
#2B56BB #BB2B9E #BB902B #2BBB48
split-complementary
#2B56BB #BB482B #9EBB2B
monochromatic
#142857 #203F89 #2B56BB #4D76D6 #7F9CE2

Accessibility & contrast

On white

6.66
#2B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56BB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56BB#FFFFFF#000000##FFFFFF
##2B56BB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b56bb;
/* rgb */ color: rgb(43, 86, 187);
/* oklch */ color: oklch(48.3% 0.167 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a85d0',
    500: '#2b56bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b56bb;
$custom-light: #7a85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56bb",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 222.083,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.16669,
    "h": 263.8
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#2B56BB
secondary
#CAB278
accent
#B542E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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