#2865C9#2865C9

#2865C9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.4% C 0.168 H 259.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2865C9
RGBrgb(40, 101, 201)
HSLhsl(217, 67%, 47%)
HSVhsv(217, 80%, 79%)
CMYKcmyk(80.1%, 49.8%, 0%, 21.2%)
CIE-LABlab(44.20, 17.00, -57.50)
CIE-LCHlch(44.20, 59.96, 286.47°)
OKLaboklab(52.44% -0.0294 -0.1655)
OKLCHoklch(52.44% 0.168 259.9)
XYZxyz(16.0675, 13.9736, 57.0974)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865C9 #C98C28
analogous
#28B6C9 #2865C9 #3B28C9
triadic
#2865C9 #C92865 #65C928
tetradic
#2865C9 #C928B6 #C98C28 #28C93B
square
#2865C9 #C928B6 #C98C28 #28C93B
split-complementary
#2865C9 #C93B28 #B6C928
monochromatic
#143263 #1E4B96 #2865C9 #5286DD #85AAE7

Accessibility & contrast

On white

5.53
#2865C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2865C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865C9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865C9#FFFFFF#000000##FFFFFF
##2865C91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CD
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2865c9;
/* rgb */ color: rgb(40, 101, 201);
/* oklch */ color: oklch(52.4% 0.168 259.9);
Tailwind
colors: {
  custom: {
    50: '#7b90da',
    500: '#2865c9',
    950: '#000000',
  },
}
SCSS
$custom: #2865c9;
$custom-light: #7b90da;
$custom-dark: #000000;
JSON
{
  "hex": "#2865c9",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 201
  },
  "hsl": {
    "h": 217.267,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.16806,
    "h": 259.9
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#2865C9
secondary
#D0B07D
accent
#A93EEA
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2865C9

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

Preview Lab → · Contrast checker → · Palette generator →

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