#2B5CC2#2B5CC2

#2B5CC2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.169 H 262.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2B5CC2
RGBrgb(43, 92, 194)
HSLhsl(221, 64%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(77.8%, 52.6%, 0%, 23.9%)
CIE-LABlab(41.31, 20.48, -58.10)
CIE-LCHlch(41.31, 61.61, 289.41°)
OKLaboklab(50.12% -0.0216 -0.1674)
OKLCHoklch(50.12% 0.169 262.6)
XYZxyz(14.5575, 12.0612, 52.5893)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CC2 #C2912B
analogous
#2BA8C2 #2B5CC2 #462BC2
triadic
#2B5CC2 #C22B5C #5CC22B
tetradic
#2B5CC2 #C22BA8 #C2912B #2BC246
square
#2B5CC2 #C22BA8 #C2912B #2BC246
split-complementary
#2B5CC2 #C2462B #A8C22B
monochromatic
#152C5E #204490 #2B5CC2 #527DD9 #84A3E4

Accessibility & contrast

On white

6.15
#2B5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2B5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CC2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CC2#FFFFFF#000000##FFFFFF
##2B5CC21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5cc2;
/* rgb */ color: rgb(43, 92, 194);
/* oklch */ color: oklch(50.1% 0.169 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b89d5',
    500: '#2b5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cc2;
$custom-light: #7b89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cc2",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 220.53,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.16878,
    "h": 262.6
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#2B5CC2
secondary
#CDB37C
accent
#B141E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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