#2865A9#2865A9

#2865A9 is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.125 H 253.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2865A9
RGBrgb(40, 101, 169)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 76%, 66%)
CMYKcmyk(76.3%, 40.2%, 0%, 33.7%)
CIE-LABlab(42.19, 4.73, -42.07)
CIE-LCHlch(42.19, 42.34, 276.41°)
OKLaboklab(50.25% -0.0353 -0.1201)
OKLCHoklch(50.25% 0.125 253.6)
XYZxyz(12.6875, 12.6216, 39.2960)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A9 #A96C28
analogous
#28A5A9 #2865A9 #2C28A9
triadic
#2865A9 #A92865 #65A928
tetradic
#2865A9 #A928A5 #A96C28 #28A92C
square
#2865A9 #A928A5 #A96C28 #28A92C
split-complementary
#2865A9 #A92C28 #A5A928
monochromatic
#112A46 #1C4778 #2865A9 #3D83D1 #6FA3DD

Accessibility & contrast

On white

5.96
#2865A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2865A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865A9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A9#FFFFFF#000000##FFFFFF
##2865A91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAC
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865a9;
/* rgb */ color: rgb(40, 101, 169);
/* oklch */ color: oklch(50.2% 0.125 253.6);
Tailwind
colors: {
  custom: {
    50: '#7490c3',
    500: '#2865a9',
    950: '#000000',
  },
}
SCSS
$custom: #2865a9;
$custom-light: #7490c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a9",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 169
  },
  "hsl": {
    "h": 211.628,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.1252,
    "h": 253.6
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#2865A9
secondary
#C49969
accent
#9843E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A9

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

Preview Lab → · Contrast checker → · Palette generator →

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