#2B5CC8#2B5CC8

#2B5CC8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.177 H 263.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5CC8
RGBrgb(43, 92, 200)
HSLhsl(221, 65%, 48%)
HSVhsv(221, 79%, 78%)
CMYKcmyk(78.5%, 54%, 0%, 21.6%)
CIE-LABlab(41.75, 22.76, -60.88)
CIE-LCHlch(41.75, 65.00, 290.50°)
OKLaboklab(50.58% -0.0211 -0.1756)
OKLCHoklch(50.58% 0.177 263.2)
XYZxyz(15.2450, 12.3362, 56.2100)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CC8 #C8972B
analogous
#2BAAC8 #2B5CC8 #492BC8
triadic
#2B5CC8 #C82B5C #5CC82B
tetradic
#2B5CC8 #C82BAA #C8972B #2BC849
square
#2B5CC8 #C82BAA #C8972B #2BC849
split-complementary
#2B5CC8 #C8492B #AAC82B
monochromatic
#152E63 #204596 #2B5CC8 #567FDB #88A5E5

Accessibility & contrast

On white

6.06
#2B5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2B5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CC8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CC8#FFFFFF#000000##FFFFFF
##2B5CC81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5cc8;
/* rgb */ color: rgb(43, 92, 200);
/* oklch */ color: oklch(50.6% 0.177 263.2);
Tailwind
colors: {
  custom: {
    50: '#7d89d9',
    500: '#2b5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cc8;
$custom-light: #7d89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cc8",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 221.274,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.17682,
    "h": 263.2
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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