#2865AA#2865AA

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

Color values

HEX#2865AA
RGBrgb(40, 101, 170)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 76%, 67%)
CMYKcmyk(76.5%, 40.6%, 0%, 33.3%)
CIE-LABlab(42.25, 5.11, -42.57)
CIE-LCHlch(42.25, 42.87, 276.84°)
OKLaboklab(50.31% -0.0351 -0.1216)
OKLCHoklch(50.31% 0.127 253.9)
XYZxyz(12.7817, 12.6593, 39.7923)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865AA #AA6D28
analogous
#28A6AA #2865AA #2C28AA
triadic
#2865AA #AA2865 #65AA28
tetradic
#2865AA #AA28A6 #AA6D28 #28AA2C
square
#2865AA #AA28A6 #AA6D28 #28AA2C
split-complementary
#2865AA #AA2C28 #A6AA28
monochromatic
#112A47 #1C4878 #2865AA #3E83D2 #6FA3DD

Accessibility & contrast

On white

5.95
#2865AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2865AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2865AA#FFFFFF#000000##FFFFFF
##2865AA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2865aa;
/* rgb */ color: rgb(40, 101, 170);
/* oklch */ color: oklch(50.3% 0.127 253.9);
Tailwind
colors: {
  custom: {
    50: '#7590c4',
    500: '#2865aa',
    950: '#000000',
  },
}
SCSS
$custom: #2865aa;
$custom-light: #7590c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2865aa",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 170
  },
  "hsl": {
    "h": 211.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.12654,
    "h": 253.9
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#2865AA
secondary
#C49A6A
accent
#9943E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865AA

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

Preview Lab → · Contrast checker → · Palette generator →

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