#2865AD#2865AD

#2865AD is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.5% C 0.131 H 254.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2865AD
RGBrgb(40, 101, 173)
HSLhsl(212, 62%, 42%)
HSVhsv(212, 77%, 68%)
CMYKcmyk(76.9%, 41.6%, 0%, 32.2%)
CIE-LABlab(42.42, 6.25, -44.05)
CIE-LCHlch(42.42, 44.50, 278.08°)
OKLaboklab(50.5% -0.0344 -0.1259)
OKLCHoklch(50.5% 0.131 254.7)
XYZxyz(13.0688, 12.7741, 41.3039)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865AD #AD7028
analogous
#28A8AD #2865AD #2E28AD
triadic
#2865AD #AD2865 #65AD28
tetradic
#2865AD #AD28A8 #AD7028 #28AD2E
square
#2865AD #AD28A8 #AD7028 #28AD2E
split-complementary
#2865AD #AD2E28 #A8AD28
monochromatic
#112B4A #1D487B #2865AD #3F83D3 #71A3DE

Accessibility & contrast

On white

5.91
#2865AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2865AD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865AD#FFFFFF#000000##FFFFFF
##2865AD1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865ad;
/* rgb */ color: rgb(40, 101, 173);
/* oklch */ color: oklch(50.5% 0.131 254.7);
Tailwind
colors: {
  custom: {
    50: '#7590c6',
    500: '#2865ad',
    950: '#000000',
  },
}
SCSS
$custom: #2865ad;
$custom-light: #7590c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2865ad",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 173
  },
  "hsl": {
    "h": 212.481,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.13056,
    "h": 254.7
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2865AD

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

Preview Lab → · Contrast checker → · Palette generator →

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