#2865A7#2865A7

#2865A7 is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.1% C 0.123 H 253.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2865A7
RGBrgb(40, 101, 167)
HSLhsl(211, 61%, 41%)
HSVhsv(211, 76%, 65%)
CMYKcmyk(76%, 39.5%, 0%, 34.5%)
CIE-LABlab(42.07, 3.96, -41.07)
CIE-LCHlch(42.07, 41.26, 275.51°)
OKLaboklab(50.12% -0.0358 -0.1172)
OKLCHoklch(50.12% 0.123 253)
XYZxyz(12.5012, 12.5471, 38.3147)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A7 #A76A28
analogous
#28A4A7 #2865A7 #2A28A7
triadic
#2865A7 #A72865 #65A728
tetradic
#2865A7 #A728A4 #A76A28 #28A72A
square
#2865A7 #A728A4 #A76A28 #28A72A
split-complementary
#2865A7 #A72A28 #A4A728
monochromatic
#102944 #1C4776 #2865A7 #3C83D0 #6DA3DC

Accessibility & contrast

On white

5.98
#2865A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2865A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865A7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A7#FFFFFF#000000##FFFFFF
##2865A71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2865a7;
/* rgb */ color: rgb(40, 101, 167);
/* oklch */ color: oklch(50.1% 0.123 253.0);
Tailwind
colors: {
  custom: {
    50: '#7490c1',
    500: '#2865a7',
    950: '#000000',
  },
}
SCSS
$custom: #2865a7;
$custom-light: #7490c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a7",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 167
  },
  "hsl": {
    "h": 211.181,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.12255,
    "h": 253
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#2865A7
secondary
#C39768
accent
#9743E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A7

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

Preview Lab → · Contrast checker → · Palette generator →

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