#2865D0#2865D0

#2865D0 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.177 H 260.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2865D0
RGBrgb(40, 101, 208)
HSLhsl(218, 68%, 49%)
HSVhsv(218, 81%, 82%)
CMYKcmyk(80.8%, 51.4%, 0%, 18.4%)
CIE-LABlab(44.67, 19.68, -60.74)
CIE-LCHlch(44.67, 63.85, 287.96°)
OKLaboklab(52.96% -0.0285 -0.175)
OKLCHoklch(52.96% 0.177 260.8)
XYZxyz(16.9098, 14.3105, 61.5333)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865D0 #D09328
analogous
#28B9D0 #2865D0 #3F28D0
triadic
#2865D0 #D02865 #65D028
tetradic
#2865D0 #D028B9 #D09328 #28D03F
square
#2865D0 #D028B9 #D09328 #28D03F
split-complementary
#2865D0 #D03F28 #B9D028
monochromatic
#143369 #1E4C9D #2865D0 #5788DF #8AACE8

Accessibility & contrast

On white

5.44
#2865D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2865D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865D0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865D0#FFFFFF#000000##FFFFFF
##2865D01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D4
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2865d0;
/* rgb */ color: rgb(40, 101, 208);
/* oklch */ color: oklch(53.0% 0.177 260.8);
Tailwind
colors: {
  custom: {
    50: '#7d90df',
    500: '#2865d0',
    950: '#000000',
  },
}
SCSS
$custom: #2865d0;
$custom-light: #7d90df;
$custom-dark: #000000;
JSON
{
  "hex": "#2865d0",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 208
  },
  "hsl": {
    "h": 218.214,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.17733,
    "h": 260.8
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#2865D0
secondary
#D2B582
accent
#AC3DEB
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2865D0

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

Preview Lab → · Contrast checker → · Palette generator →

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