#2B5ECC#2B5ECC

#2B5ECC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.180 H 262.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2B5ECC
RGBrgb(43, 94, 204)
HSLhsl(221, 65%, 48%)
HSVhsv(221, 79%, 80%)
CMYKcmyk(78.9%, 53.9%, 0%, 20%)
CIE-LABlab(42.58, 22.98, -61.84)
CIE-LCHlch(42.58, 65.97, 290.39°)
OKLaboklab(51.3% -0.0221 -0.1783)
OKLCHoklch(51.3% 0.18 262.9)
XYZxyz(15.8941, 12.8768, 58.7628)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5ECC #CC992B
analogous
#2BAECC #2B5ECC #492BCC
triadic
#2B5ECC #CC2B5E #5ECC2B
tetradic
#2B5ECC #CC2BAE #CC992B #2BCC49
square
#2B5ECC #CC2BAE #CC992B #2BCC49
split-complementary
#2B5ECC #CC492B #AECC2B
monochromatic
#162F67 #204799 #2B5ECC #5882DC #8BA8E7

Accessibility & contrast

On white

5.87
#2B5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2B5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5ECC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5ECC#FFFFFF#000000##FFFFFF
##2B5ECC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b5ecc;
/* rgb */ color: rgb(43, 94, 204);
/* oklch */ color: oklch(51.3% 0.180 262.9);
Tailwind
colors: {
  custom: {
    50: '#7d8bdc',
    500: '#2b5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ecc;
$custom-light: #7d8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ecc",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 220.994,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.17971,
    "h": 262.9
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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