#2865B3#2865B3

#2865B3 is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.9% C 0.139 H 256.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2865B3
RGBrgb(40, 101, 179)
HSLhsl(214, 63%, 43%)
HSVhsv(214, 78%, 70%)
CMYKcmyk(77.7%, 43.6%, 0%, 29.8%)
CIE-LABlab(42.78, 8.55, -47.00)
CIE-LCHlch(42.78, 47.77, 280.31°)
OKLaboklab(50.9% -0.0331 -0.1346)
OKLCHoklch(50.9% 0.139 256.2)
XYZxyz(13.6624, 13.0116, 44.4305)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B3 #B37628
analogous
#28AAB3 #2865B3 #3028B3
triadic
#2865B3 #B32865 #65B328
tetradic
#2865B3 #B328AA #B37628 #28B330
square
#2865B3 #B328AA #B37628 #28B330
split-complementary
#2865B3 #B33028 #AAB328
monochromatic
#122D4F #1D4981 #2865B3 #4383D5 #75A4E0

Accessibility & contrast

On white

5.83
#2865B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2865B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B3#FFFFFF#000000##FFFFFF
##2865B31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2865b3;
/* rgb */ color: rgb(40, 101, 179);
/* oklch */ color: oklch(50.9% 0.139 256.2);
Tailwind
colors: {
  custom: {
    50: '#7790ca',
    500: '#2865b3',
    950: '#000000',
  },
}
SCSS
$custom: #2865b3;
$custom-light: #7790ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b3",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 179
  },
  "hsl": {
    "h": 213.669,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.509,
    "c": 0.13861,
    "h": 256.2
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#2865B3
secondary
#C8A16F
accent
#9E41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B3

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

Preview Lab → · Contrast checker → · Palette generator →

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