#2865A5#2865A5

#2865A5 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 50.0% C 0.120 H 252.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2865A5
RGBrgb(40, 101, 165)
HSLhsl(211, 61%, 40%)
HSVhsv(211, 76%, 65%)
CMYKcmyk(75.8%, 38.8%, 0%, 35.3%)
CIE-LABlab(41.96, 3.20, -40.07)
CIE-LCHlch(41.96, 40.20, 274.57°)
OKLaboklab(49.99% -0.0363 -0.1142)
OKLCHoklch(49.99% 0.12 252.4)
XYZxyz(12.3177, 12.4737, 37.3485)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A5 #A56828
analogous
#28A4A5 #2865A5 #2928A5
triadic
#2865A5 #A52865 #65A528
tetradic
#2865A5 #A528A4 #A56828 #28A529
square
#2865A5 #A528A4 #A56828 #28A529
split-complementary
#2865A5 #A52928 #A4A528
monochromatic
#102942 #1C4774 #2865A5 #3B83CF #6CA2DB

Accessibility & contrast

On white

6.01
#2865A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2865A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865A5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A5#FFFFFF#000000##FFFFFF
##2865A51.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2865a5;
/* rgb */ color: rgb(40, 101, 165);
/* oklch */ color: oklch(50.0% 0.120 252.4);
Tailwind
colors: {
  custom: {
    50: '#7490c0',
    500: '#2865a5',
    950: '#000000',
  },
}
SCSS
$custom: #2865a5;
$custom-light: #7490c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a5",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 165
  },
  "hsl": {
    "h": 210.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.11989,
    "h": 252.4
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#2865A5
secondary
#C29567
accent
#9644E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A5

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

Preview Lab → · Contrast checker → · Palette generator →

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