#2B5CC7#2B5CC7

#2B5CC7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.175 H 263.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2B5CC7
RGBrgb(43, 92, 199)
HSLhsl(221, 64%, 47%)
HSVhsv(221, 78%, 78%)
CMYKcmyk(78.4%, 53.8%, 0%, 22%)
CIE-LABlab(41.67, 22.38, -60.42)
CIE-LCHlch(41.67, 64.43, 290.33°)
OKLaboklab(50.5% -0.0211 -0.1742)
OKLCHoklch(50.5% 0.175 263.1)
XYZxyz(15.1285, 12.2896, 55.5966)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CC7 #C7962B
analogous
#2BAAC7 #2B5CC7 #482BC7
triadic
#2B5CC7 #C72B5C #5CC72B
tetradic
#2B5CC7 #C72BAA #C7962B #2BC748
square
#2B5CC7 #C72BAA #C7962B #2BC748
split-complementary
#2B5CC7 #C7482B #AAC72B
monochromatic
#152D62 #204595 #2B5CC7 #557FDA #87A5E5

Accessibility & contrast

On white

6.07
#2B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2B5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CC7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CC7#FFFFFF#000000##FFFFFF
##2B5CC71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5cc7;
/* rgb */ color: rgb(43, 92, 199);
/* oklch */ color: oklch(50.5% 0.175 263.1);
Tailwind
colors: {
  custom: {
    50: '#7c89d9',
    500: '#2b5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cc7;
$custom-light: #7c89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cc7",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 221.154,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.17549,
    "h": 263.1
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#2B5CC7
secondary
#CFB67F
accent
#B340E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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