#2865B2#2865B2

#2865B2 is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.8% C 0.137 H 255.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2865B2
RGBrgb(40, 101, 178)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 78%, 70%)
CMYKcmyk(77.5%, 43.3%, 0%, 30.2%)
CIE-LABlab(42.72, 8.17, -46.51)
CIE-LCHlch(42.72, 47.22, 279.96°)
OKLaboklab(50.83% -0.0333 -0.1331)
OKLCHoklch(50.83% 0.137 255.9)
XYZxyz(13.5617, 12.9712, 43.8998)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B2 #B27528
analogous
#28AAB2 #2865B2 #3028B2
triadic
#2865B2 #B22865 #65B228
tetradic
#2865B2 #B228AA #B27528 #28B230
square
#2865B2 #B228AA #B27528 #28B230
split-complementary
#2865B2 #B23028 #AAB228
monochromatic
#122C4E #1D4980 #2865B2 #4383D5 #75A4E0

Accessibility & contrast

On white

5.84
#2865B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2865B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B2#FFFFFF#000000##FFFFFF
##2865B21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2865b2;
/* rgb */ color: rgb(40, 101, 178);
/* oklch */ color: oklch(50.8% 0.137 255.9);
Tailwind
colors: {
  custom: {
    50: '#7690c9',
    500: '#2865b2',
    950: '#000000',
  },
}
SCSS
$custom: #2865b2;
$custom-light: #7690c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b2",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 213.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.13726,
    "h": 255.9
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#2865B2
secondary
#C7A06F
accent
#9D41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B2

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

Preview Lab → · Contrast checker → · Palette generator →

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