#2B55BC#2B55BC

#2B55BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.169 H 264.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2B55BC
RGBrgb(43, 85, 188)
HSLhsl(223, 63%, 45%)
HSVhsv(223, 77%, 74%)
CMYKcmyk(77.1%, 54.8%, 0%, 26.3%)
CIE-LABlab(38.97, 22.78, -58.41)
CIE-LCHlch(38.97, 62.69, 291.30°)
OKLaboklab(48.2% -0.017 -0.1684)
OKLCHoklch(48.2% 0.169 264.2)
XYZxyz(13.3186, 10.6399, 48.9190)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B55BC #BC922B
analogous
#2B9DBC #2B55BC #4A2BBC
triadic
#2B55BC #BC2B55 #55BC2B
tetradic
#2B55BC #BC2B9D #BC922B #2BBC4A
square
#2B55BC #BC2B9D #BC922B #2BBC4A
split-complementary
#2B55BC #BC4A2B #9DBC2B
monochromatic
#142858 #203E8A #2B55BC #4E75D6 #809CE2

Accessibility & contrast

On white

6.71
#2B55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B55BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B55BC#FFFFFF#000000##FFFFFF
##2B55BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b55bc;
/* rgb */ color: rgb(43, 85, 188);
/* oklch */ color: oklch(48.2% 0.169 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a84d1',
    500: '#2b55bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b55bc;
$custom-light: #7a84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b55bc",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 222.621,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.16928,
    "h": 264.2
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#2B55BC
secondary
#CBB378
accent
#B642E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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