#2B5BC8#2B5BC8

#2B5BC8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.178 H 263.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2B5BC8
RGBrgb(43, 91, 200)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 78%)
CMYKcmyk(78.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(41.48, 23.41, -61.32)
CIE-LCHlch(41.48, 65.63, 290.90°)
OKLaboklab(50.38% -0.0204 -0.1769)
OKLCHoklch(50.38% 0.178 263.4)
XYZxyz(15.1589, 12.1641, 56.1814)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BC8 #C8982B
analogous
#2BA9C8 #2B5BC8 #492BC8
triadic
#2B5BC8 #C82B5B #5BC82B
tetradic
#2B5BC8 #C82BA9 #C8982B #2BC849
square
#2B5BC8 #C82BA9 #C8982B #2BC849
split-complementary
#2B5BC8 #C8492B #A9C82B
monochromatic
#152D63 #204496 #2B5BC8 #567EDB #88A5E5

Accessibility & contrast

On white

6.12
#2B5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B5BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BC8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BC8#FFFFFF#000000##FFFFFF
##2B5BC81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5bc8;
/* rgb */ color: rgb(43, 91, 200);
/* oklch */ color: oklch(50.4% 0.178 263.4);
Tailwind
colors: {
  custom: {
    50: '#7d88d9',
    500: '#2b5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bc8;
$custom-light: #7d88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bc8",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 221.656,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.17803,
    "h": 263.4
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#2B5BC8
secondary
#CFB780
accent
#B440E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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