#2864AA#2864AA

#2864AA is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.1% C 0.128 H 254.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2864AA
RGBrgb(40, 100, 170)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 76%, 67%)
CMYKcmyk(76.5%, 41.2%, 0%, 33.3%)
CIE-LABlab(41.95, 5.74, -43.04)
CIE-LCHlch(41.95, 43.42, 277.60°)
OKLaboklab(50.08% -0.0342 -0.123)
OKLCHoklch(50.08% 0.128 254.5)
XYZxyz(12.6852, 12.4663, 39.7601)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AA #AA6E28
analogous
#28A5AA #2864AA #2D28AA
triadic
#2864AA #AA2864 #64AA28
tetradic
#2864AA #AA28A5 #AA6E28 #28AA2D
square
#2864AA #AA28A5 #AA6E28 #28AA2D
split-complementary
#2864AA #AA2D28 #A5AA28
monochromatic
#112A47 #1C4778 #2864AA #3E82D2 #6FA2DD

Accessibility & contrast

On white

6.01
#2864AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2864AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2864AA#FFFFFF#000000##FFFFFF
##2864AA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2864aa;
/* rgb */ color: rgb(40, 100, 170);
/* oklch */ color: oklch(50.1% 0.128 254.5);
Tailwind
colors: {
  custom: {
    50: '#758fc4',
    500: '#2864aa',
    950: '#000000',
  },
}
SCSS
$custom: #2864aa;
$custom-light: #758fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2864aa",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 212.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.12765,
    "h": 254.5
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#2864AA
secondary
#C49A6A
accent
#9A43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2864AA

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

Preview Lab → · Contrast checker → · Palette generator →

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