#2B5DCA#2B5DCA

#2B5DCA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.178 H 263.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2B5DCA
RGBrgb(43, 93, 202)
HSLhsl(221, 65%, 48%)
HSVhsv(221, 79%, 79%)
CMYKcmyk(78.7%, 54%, 0%, 20.8%)
CIE-LABlab(42.16, 22.87, -61.36)
CIE-LCHlch(42.16, 65.48, 290.44°)
OKLaboklab(50.94% -0.0216 -0.1769)
OKLCHoklch(50.94% 0.178 263)
XYZxyz(15.5675, 12.6047, 57.4782)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DCA #CA982B
analogous
#2BACCA #2B5DCA #482BCA
triadic
#2B5DCA #CA2B5D #5DCA2B
tetradic
#2B5DCA #CA2BAC #CA982B #2BCA48
square
#2B5DCA #CA2BAC #CA982B #2BCA48
split-complementary
#2B5DCA #CA482B #ACCA2B
monochromatic
#162F65 #204698 #2B5DCA #5781DB #89A7E6

Accessibility & contrast

On white

5.96
#2B5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DCA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DCA#FFFFFF#000000##FFFFFF
##2B5DCA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5dca;
/* rgb */ color: rgb(43, 93, 202);
/* oklch */ color: oklch(50.9% 0.178 263.0);
Tailwind
colors: {
  custom: {
    50: '#7d8adb',
    500: '#2b5dca',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dca;
$custom-light: #7d8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dca",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 221.132,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.17826,
    "h": 263
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#2B5DCA
secondary
#D0B781
accent
#B340E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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