#2B5BD0#2B5BD0

#2B5BD0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.189 H 264.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2B5BD0
RGBrgb(43, 91, 208)
HSLhsl(223, 66%, 49%)
HSVhsv(223, 79%, 82%)
CMYKcmyk(79.3%, 56.2%, 0%, 18.4%)
CIE-LABlab(42.07, 26.44, -64.96)
CIE-LCHlch(42.07, 70.13, 292.15°)
OKLaboklab(51.02% -0.0198 -0.1876)
OKLCHoklch(51.02% 0.189 264)
XYZxyz(16.1185, 12.5479, 61.2348)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BD0 #D0A02B
analogous
#2BAED0 #2B5BD0 #4D2BD0
triadic
#2B5BD0 #D02B5B #5BD02B
tetradic
#2B5BD0 #D02BAE #D0A02B #2BD04D
square
#2B5BD0 #D02BAE #D0A02B #2BD04D
split-complementary
#2B5BD0 #D04D2B #AED02B
monochromatic
#162F6B #21459D #2B5BD0 #5B81DD #8EA8E8

Accessibility & contrast

On white

5.98
#2B5BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B5BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BD0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BD0#FFFFFF#000000##FFFFFF
##2B5BD01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5bd0;
/* rgb */ color: rgb(43, 91, 208);
/* oklch */ color: oklch(51.0% 0.189 264.0);
Tailwind
colors: {
  custom: {
    50: '#7f88df',
    500: '#2b5bd0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bd0;
$custom-light: #7f88df;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bd0",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 222.545,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.18861,
    "h": 264
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#2B5BD0
secondary
#D2BB85
accent
#B73FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2B5BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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