#2B5BBC#2B5BBC

#2B5BBC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.162 H 262.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2B5BBC
RGBrgb(43, 91, 188)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(77.1%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.61, 18.84, -55.74)
CIE-LCHlch(40.61, 58.84, 288.68°)
OKLaboklab(49.45% -0.0215 -0.1605)
OKLCHoklch(49.45% 0.162 262.4)
XYZxyz(13.8112, 11.6250, 49.0832)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BBC #BC8C2B
analogous
#2BA3BC #2B5BBC #432BBC
triadic
#2B5BBC #BC2B5B #5BBC2B
tetradic
#2B5BBC #BC2BA3 #BC8C2B #2BBC43
square
#2B5BBC #BC2BA3 #BC8C2B #2BBC43
split-complementary
#2B5BBC #BC432B #A3BC2B
monochromatic
#142B58 #20438A #2B5BBC #4E7BD6 #80A0E2

Accessibility & contrast

On white

6.32
#2B5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2B5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BBC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BBC#FFFFFF#000000##FFFFFF
##2B5BBC1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5bbc;
/* rgb */ color: rgb(43, 91, 188);
/* oklch */ color: oklch(49.5% 0.162 262.4);
Tailwind
colors: {
  custom: {
    50: '#7a88d1',
    500: '#2b5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bbc;
$custom-light: #7a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bbc",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 220.138,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.1619,
    "h": 262.4
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#2B5BBC
secondary
#CBAF78
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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