#2865C3#2865C3

#2865C3 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.0% C 0.160 H 259.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2865C3
RGBrgb(40, 101, 195)
HSLhsl(216, 66%, 46%)
HSVhsv(216, 79%, 76%)
CMYKcmyk(79.5%, 48.2%, 0%, 23.5%)
CIE-LABlab(43.79, 14.70, -54.68)
CIE-LCHlch(43.79, 56.62, 285.05°)
OKLaboklab(52.01% -0.0302 -0.1572)
OKLCHoklch(52.01% 0.16 259.1)
XYZxyz(15.3755, 13.6968, 53.4526)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865C3 #C38628
analogous
#28B2C3 #2865C3 #3828C3
triadic
#2865C3 #C32865 #65C328
tetradic
#2865C3 #C328B2 #C38628 #28C338
square
#2865C3 #C328B2 #C38628 #28C338
split-complementary
#2865C3 #C33828 #B2C328
monochromatic
#13305D #1E4B90 #2865C3 #4E85DB #80A8E5

Accessibility & contrast

On white

5.62
#2865C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2865C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865C3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865C3#FFFFFF#000000##FFFFFF
##2865C31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2865c3;
/* rgb */ color: rgb(40, 101, 195);
/* oklch */ color: oklch(52.0% 0.160 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a90d6',
    500: '#2865c3',
    950: '#000000',
  },
}
SCSS
$custom: #2865c3;
$custom-light: #7a90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2865c3",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 195
  },
  "hsl": {
    "h": 216.387,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.16006,
    "h": 259.1
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#2865C3
secondary
#CEAC79
accent
#A63FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2865C3

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

Preview Lab → · Contrast checker → · Palette generator →

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