#2865A8#2865A8

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

Color values

HEX#2865A8
RGBrgb(40, 101, 168)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 76%, 66%)
CMYKcmyk(76.2%, 39.9%, 0%, 34.1%)
CIE-LABlab(42.13, 4.34, -41.57)
CIE-LCHlch(42.13, 41.80, 275.97°)
OKLaboklab(50.18% -0.0356 -0.1186)
OKLCHoklch(50.18% 0.124 253.3)
XYZxyz(12.5940, 12.5842, 38.8034)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A8 #A86B28
analogous
#28A5A8 #2865A8 #2B28A8
triadic
#2865A8 #A82865 #65A828
tetradic
#2865A8 #A828A5 #A86B28 #28A82B
square
#2865A8 #A828A5 #A86B28 #28A82B
split-complementary
#2865A8 #A82B28 #A5A828
monochromatic
#102A45 #1C4777 #2865A8 #3D83D1 #6EA3DC

Accessibility & contrast

On white

5.97
#2865A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2865A8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A8#FFFFFF#000000##FFFFFF
##2865A81.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAB
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2865a8;
/* rgb */ color: rgb(40, 101, 168);
/* oklch */ color: oklch(50.2% 0.124 253.3);
Tailwind
colors: {
  custom: {
    50: '#7490c2',
    500: '#2865a8',
    950: '#000000',
  },
}
SCSS
$custom: #2865a8;
$custom-light: #7490c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a8",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 168
  },
  "hsl": {
    "h": 211.406,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.12387,
    "h": 253.3
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2865A8

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

Preview Lab → · Contrast checker → · Palette generator →

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