#2865AE#2865AE

#2865AE is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.6% C 0.132 H 255.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2865AE
RGBrgb(40, 101, 174)
HSLhsl(213, 63%, 42%)
HSVhsv(213, 77%, 68%)
CMYKcmyk(77%, 42%, 0%, 31.8%)
CIE-LABlab(42.48, 6.64, -44.55)
CIE-LCHlch(42.48, 45.04, 278.48°)
OKLaboklab(50.57% -0.0342 -0.1274)
OKLCHoklch(50.57% 0.132 255)
XYZxyz(13.1659, 12.8129, 41.8154)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865AE #AE7128
analogous
#28A8AE #2865AE #2E28AE
triadic
#2865AE #AE2865 #65AE28
tetradic
#2865AE #AE28A8 #AE7128 #28AE2E
square
#2865AE #AE28A8 #AE7128 #28AE2E
split-complementary
#2865AE #AE2E28 #A8AE28
monochromatic
#112B4A #1D487C #2865AE #4083D3 #72A3DF

Accessibility & contrast

On white

5.89
#2865AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2865AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865AE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865AE#FFFFFF#000000##FFFFFF
##2865AE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865ae;
/* rgb */ color: rgb(40, 101, 174);
/* oklch */ color: oklch(50.6% 0.132 255.0);
Tailwind
colors: {
  custom: {
    50: '#7590c6',
    500: '#2865ae',
    950: '#000000',
  },
}
SCSS
$custom: #2865ae;
$custom-light: #7590c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2865ae",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 174
  },
  "hsl": {
    "h": 212.687,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.1319,
    "h": 255
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#2865AE
secondary
#C69D6C
accent
#9B42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865AE

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

Preview Lab → · Contrast checker → · Palette generator →

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