#2865B0#2865B0

#2865B0 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.135 H 255.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2865B0
RGBrgb(40, 101, 176)
HSLhsl(213, 63%, 42%)
HSVhsv(213, 77%, 69%)
CMYKcmyk(77.3%, 42.6%, 0%, 31%)
CIE-LABlab(42.60, 7.40, -45.53)
CIE-LCHlch(42.60, 46.13, 279.24°)
OKLaboklab(50.7% -0.0337 -0.1303)
OKLCHoklch(50.7% 0.135 255.5)
XYZxyz(13.3623, 12.8915, 42.8499)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B0 #B07328
analogous
#28A9B0 #2865B0 #2F28B0
triadic
#2865B0 #B02865 #65B028
tetradic
#2865B0 #B028A9 #B07328 #28B02F
square
#2865B0 #B028A9 #B07328 #28B02F
split-complementary
#2865B0 #B02F28 #A9B028
monochromatic
#112C4C #1D487E #2865B0 #4183D4 #73A4DF

Accessibility & contrast

On white

5.87
#2865B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2865B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B0#FFFFFF#000000##FFFFFF
##2865B01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2865b0;
/* rgb */ color: rgb(40, 101, 176);
/* oklch */ color: oklch(50.7% 0.135 255.5);
Tailwind
colors: {
  custom: {
    50: '#7690c8',
    500: '#2865b0',
    950: '#000000',
  },
}
SCSS
$custom: #2865b0;
$custom-light: #7690c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b0",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 176
  },
  "hsl": {
    "h": 213.088,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.13457,
    "h": 255.5
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#2865B0
secondary
#C69E6D
accent
#9C42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B0

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

Preview Lab → · Contrast checker → · Palette generator →

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