#2865AB#2865AB

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

Color values

HEX#2865AB
RGBrgb(40, 101, 171)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 77%, 67%)
CMYKcmyk(76.6%, 40.9%, 0%, 32.9%)
CIE-LABlab(42.30, 5.49, -43.06)
CIE-LCHlch(42.30, 43.41, 277.26°)
OKLaboklab(50.38% -0.0349 -0.123)
OKLCHoklch(50.38% 0.128 254.2)
XYZxyz(12.8767, 12.6973, 40.2924)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865AB #AB6E28
analogous
#28A7AB #2865AB #2D28AB
triadic
#2865AB #AB2865 #65AB28
tetradic
#2865AB #AB28A7 #AB6E28 #28AB2D
square
#2865AB #AB28A7 #AB6E28 #28AB2D
split-complementary
#2865AB #AB2D28 #A7AB28
monochromatic
#112A48 #1C4879 #2865AB #3E83D2 #70A3DE

Accessibility & contrast

On white

5.93
#2865AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2865AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865AB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865AB#FFFFFF#000000##FFFFFF
##2865AB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#2E5EAA
Tritanopia (blue-blind)
#00767F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865ab;
/* rgb */ color: rgb(40, 101, 171);
/* oklch */ color: oklch(50.4% 0.128 254.2);
Tailwind
colors: {
  custom: {
    50: '#7590c4',
    500: '#2865ab',
    950: '#000000',
  },
}
SCSS
$custom: #2865ab;
$custom-light: #7590c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2865ab",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 171
  },
  "hsl": {
    "h": 212.061,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50375,
    "c": 0.12788,
    "h": 254.2
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#2865AB
secondary
#C49A6A
accent
#9943E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865AB

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

Preview Lab → · Contrast checker → · Palette generator →

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