#2865AC#2865AC

#2865AC is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.129 H 254.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2865AC
RGBrgb(40, 101, 172)
HSLhsl(212, 62%, 42%)
HSVhsv(212, 77%, 67%)
CMYKcmyk(76.7%, 41.3%, 0%, 32.5%)
CIE-LABlab(42.36, 5.87, -43.56)
CIE-LCHlch(42.36, 43.95, 277.68°)
OKLaboklab(50.44% -0.0346 -0.1245)
OKLCHoklch(50.44% 0.129 254.4)
XYZxyz(12.9724, 12.7355, 40.7962)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865AC #AC6F28
analogous
#28A7AC #2865AC #2D28AC
triadic
#2865AC #AC2865 #65AC28
tetradic
#2865AC #AC28A7 #AC6F28 #28AC2D
square
#2865AC #AC28A7 #AC6F28 #28AC2D
split-complementary
#2865AC #AC2D28 #A7AC28
monochromatic
#112B49 #1C487A #2865AC #3F83D2 #71A3DE

Accessibility & contrast

On white

5.92
#2865AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2865AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865AC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865AC#FFFFFF#000000##FFFFFF
##2865AC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#2D5EAB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865ac;
/* rgb */ color: rgb(40, 101, 172);
/* oklch */ color: oklch(50.4% 0.129 254.4);
Tailwind
colors: {
  custom: {
    50: '#7590c5',
    500: '#2865ac',
    950: '#000000',
  },
}
SCSS
$custom: #2865ac;
$custom-light: #7590c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2865ac",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 212.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.12921,
    "h": 254.4
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#2865AC
secondary
#C59B6B
accent
#9A42E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865AC

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

Preview Lab → · Contrast checker → · Palette generator →

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