#2B6CE2#2B6CE2

#2B6CE2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.9% C 0.192 H 261.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2B6CE2
RGBrgb(43, 108, 226)
HSLhsl(219, 76%, 53%)
HSVhsv(219, 81%, 89%)
CMYKcmyk(81%, 52.2%, 0%, 11.4%)
CIE-LABlab(47.91, 22.30, -65.73)
CIE-LCHlch(47.91, 69.41, 288.74°)
OKLaboklab(55.85% -0.0295 -0.1895)
OKLCHoklch(55.85% 0.192 261.2)
XYZxyz(20.0813, 16.7273, 74.1071)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CE2 #E2A12B
analogous
#2BC7E2 #2B6CE2 #462BE2
triadic
#2B6CE2 #E22B6C #6CE22B
tetradic
#2B6CE2 #E22BC7 #E2A12B #2BE246
square
#2B6CE2 #E22BC7 #E2A12B #2BE246
split-complementary
#2B6CE2 #E2462B #C7E22B
monochromatic
#123981 #1951B7 #2B6CE2 #6191E9 #97B7F1

Accessibility & contrast

On white

4.83
#2B6CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2B6CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CE2#FFFFFF#000000##FFFFFF
##2B6CE21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#117AE6
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b6ce2;
/* rgb */ color: rgb(43, 108, 226);
/* oklch */ color: oklch(55.9% 0.192 261.2);
Tailwind
colors: {
  custom: {
    50: '#8295ec',
    500: '#2b6ce2',
    950: '#000000',
  },
}
SCSS
$custom: #2b6ce2;
$custom-light: #8295ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6ce2",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 218.689,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.1918,
    "h": 261.2
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#2B6CE2
secondary
#DCC08D
accent
#AF35F3
background
#F8F9FE
surface
#F0F1FD
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2B6CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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