#2B5DC7#2B5DC7

#2B5DC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.174 H 262.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2B5DC7
RGBrgb(43, 93, 199)
HSLhsl(221, 64%, 47%)
HSVhsv(221, 78%, 78%)
CMYKcmyk(78.4%, 53.3%, 0%, 22%)
CIE-LABlab(41.94, 21.73, -59.98)
CIE-LCHlch(41.94, 63.79, 289.92°)
OKLaboklab(50.71% -0.0219 -0.1729)
OKLCHoklch(50.71% 0.174 262.8)
XYZxyz(15.2157, 12.4640, 55.6256)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DC7 #C7952B
analogous
#2BABC7 #2B5DC7 #472BC7
triadic
#2B5DC7 #C72B5D #5DC72B
tetradic
#2B5DC7 #C72BAB #C7952B #2BC747
square
#2B5DC7 #C72BAB #C7952B #2BC747
split-complementary
#2B5DC7 #C7472B #ABC72B
monochromatic
#152E62 #204595 #2B5DC7 #5580DA #87A5E5

Accessibility & contrast

On white

6.01
#2B5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DC7#FFFFFF#000000##FFFFFF
##2B5DC71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ACB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5dc7;
/* rgb */ color: rgb(43, 93, 199);
/* oklch */ color: oklch(50.7% 0.174 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8ad9',
    500: '#2b5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dc7;
$custom-light: #7c8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dc7",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 220.769,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.17427,
    "h": 262.8
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#2B5DC7
secondary
#CFB57F
accent
#B240E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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