#2861C3#2861C3

#2861C3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.165 H 260.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2861C3
RGBrgb(40, 97, 195)
HSLhsl(218, 66%, 46%)
HSVhsv(218, 79%, 76%)
CMYKcmyk(79.5%, 50.3%, 0%, 23.5%)
CIE-LABlab(42.67, 17.29, -56.49)
CIE-LCHlch(42.67, 59.08, 287.02°)
OKLaboklab(51.15% -0.0272 -0.1626)
OKLCHoklch(51.15% 0.165 260.5)
XYZxyz(14.9965, 12.9389, 53.3262)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861C3 #C38A28
analogous
#28AEC3 #2861C3 #3C28C3
triadic
#2861C3 #C32861 #61C328
tetradic
#2861C3 #C328AE #C38A28 #28C33C
square
#2861C3 #C328AE #C38A28 #28C33C
split-complementary
#2861C3 #C33C28 #AEC328
monochromatic
#132E5D #1E4890 #2861C3 #4E81DB #80A5E5

Accessibility & contrast

On white

5.85
#2861C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2861C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861C3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861C3#FFFFFF#000000##FFFFFF
##2861C31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2861c3;
/* rgb */ color: rgb(40, 97, 195);
/* oklch */ color: oklch(51.1% 0.165 260.5);
Tailwind
colors: {
  custom: {
    50: '#7a8dd6',
    500: '#2861c3',
    950: '#000000',
  },
}
SCSS
$custom: #2861c3;
$custom-light: #7a8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2861c3",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 195
  },
  "hsl": {
    "h": 217.935,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.16486,
    "h": 260.5
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#2861C3
secondary
#CEAF79
accent
#AA3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2861C3

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

Preview Lab → · Contrast checker → · Palette generator →

#2861C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva