#2865BD#2865BD

#2865BD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.152 H 258.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2865BD
RGBrgb(40, 101, 189)
HSLhsl(215, 65%, 45%)
HSVhsv(215, 79%, 74%)
CMYKcmyk(78.8%, 46.6%, 0%, 25.9%)
CIE-LABlab(43.41, 12.39, -51.83)
CIE-LCHlch(43.41, 53.29, 283.45°)
OKLaboklab(51.58% -0.0312 -0.1488)
OKLCHoklch(51.58% 0.152 258.1)
XYZxyz(14.7107, 13.4309, 49.9513)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865BD #BD8028
analogous
#28B0BD #2865BD #3528BD
triadic
#2865BD #BD2865 #65BD28
tetradic
#2865BD #BD28B0 #BD8028 #28BD35
square
#2865BD #BD28B0 #BD8028 #28BD35
split-complementary
#2865BD #BD3528 #B0BD28
monochromatic
#132F58 #1D4A8A #2865BD #4A84D9 #7CA6E3

Accessibility & contrast

On white

5.70
#2865BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2865BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865BD#FFFFFF#000000##FFFFFF
##2865BD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#0C60BB
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2865bd;
/* rgb */ color: rgb(40, 101, 189);
/* oklch */ color: oklch(51.6% 0.152 258.1);
Tailwind
colors: {
  custom: {
    50: '#7990d1',
    500: '#2865bd',
    950: '#000000',
  },
}
SCSS
$custom: #2865bd;
$custom-light: #7990d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2865bd",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 215.436,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.15203,
    "h": 258.1
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#2865BD
secondary
#CBA875
accent
#A340E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2865BD

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

Preview Lab → · Contrast checker → · Palette generator →

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