#2B5DC8#2B5DC8

#2B5DC8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.176 H 262.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2B5DC8
RGBrgb(43, 93, 200)
HSLhsl(221, 65%, 48%)
HSVhsv(221, 79%, 78%)
CMYKcmyk(78.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(42.02, 22.11, -60.44)
CIE-LCHlch(42.02, 64.36, 290.09°)
OKLaboklab(50.79% -0.0218 -0.1742)
OKLCHoklch(50.79% 0.176 262.9)
XYZxyz(15.3322, 12.5106, 56.2391)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DC8 #C8962B
analogous
#2BABC8 #2B5DC8 #482BC8
triadic
#2B5DC8 #C82B5D #5DC82B
tetradic
#2B5DC8 #C82BAB #C8962B #2BC848
square
#2B5DC8 #C82BAB #C8962B #2BC848
split-complementary
#2B5DC8 #C8482B #ABC82B
monochromatic
#152E63 #204696 #2B5DC8 #5680DB #88A6E5

Accessibility & contrast

On white

6.00
#2B5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B5DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DC8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DC8#FFFFFF#000000##FFFFFF
##2B5DC81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5dc8;
/* rgb */ color: rgb(43, 93, 200);
/* oklch */ color: oklch(50.8% 0.176 262.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ad9',
    500: '#2b5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dc8;
$custom-light: #7d8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dc8",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 220.892,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.1756,
    "h": 262.9
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#2B5DC8
secondary
#CFB680
accent
#B240E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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