#2865BB#2865BB

#2865BB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.149 H 257.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2865BB
RGBrgb(40, 101, 187)
HSLhsl(215, 65%, 45%)
HSVhsv(215, 79%, 73%)
CMYKcmyk(78.6%, 46%, 0%, 26.7%)
CIE-LABlab(43.28, 11.63, -50.87)
CIE-LCHlch(43.28, 52.18, 282.87°)
OKLaboklab(51.44% -0.0316 -0.146)
OKLCHoklch(51.44% 0.149 257.8)
XYZxyz(14.4951, 13.3446, 48.8159)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865BB #BB7E28
analogous
#28AFBB #2865BB #3428BB
triadic
#2865BB #BB2865 #65BB28
tetradic
#2865BB #BB28AF #BB7E28 #28BB34
square
#2865BB #BB28AF #BB7E28 #28BB34
split-complementary
#2865BB #BB3428 #AFBB28
monochromatic
#122F56 #1D4A89 #2865BB #4884D8 #7BA6E3

Accessibility & contrast

On white

5.72
#2865BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2865BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865BB#FFFFFF#000000##FFFFFF
##2865BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#1360B9
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2865bb;
/* rgb */ color: rgb(40, 101, 187);
/* oklch */ color: oklch(51.4% 0.149 257.8);
Tailwind
colors: {
  custom: {
    50: '#7890d0',
    500: '#2865bb',
    950: '#000000',
  },
}
SCSS
$custom: #2865bb;
$custom-light: #7890d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2865bb",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 215.102,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.14935,
    "h": 257.8
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#2865BB
secondary
#CBA774
accent
#A240E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2865BB

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

Preview Lab → · Contrast checker → · Palette generator →

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