#2861A8#2861A8

#2861A8 is a mid, vivid cyan. Relative luminance 0.118; OKLCH L 49.3% C 0.128 H 255.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2861A8
RGBrgb(40, 97, 168)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 76%, 66%)
CMYKcmyk(76.2%, 42.3%, 0%, 34.1%)
CIE-LABlab(40.94, 6.90, -43.47)
CIE-LCHlch(40.94, 44.02, 279.01°)
OKLaboklab(49.26% -0.0319 -0.1243)
OKLCHoklch(49.26% 0.128 255.6)
XYZxyz(12.2150, 11.8263, 38.6771)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861A8 #A86F28
analogous
#28A1A8 #2861A8 #2F28A8
triadic
#2861A8 #A82861 #61A828
tetradic
#2861A8 #A828A1 #A86F28 #28A82F
square
#2861A8 #A828A1 #A86F28 #28A82F
split-complementary
#2861A8 #A82F28 #A1A828
monochromatic
#102845 #1C4477 #2861A8 #3D7ED1 #6E9FDC

Accessibility & contrast

On white

6.24
#2861A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2861A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861A8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861A8#FFFFFF#000000##FFFFFF
##2861A81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AB
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#00727C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2861a8;
/* rgb */ color: rgb(40, 97, 168);
/* oklch */ color: oklch(49.3% 0.128 255.6);
Tailwind
colors: {
  custom: {
    50: '#748dc2',
    500: '#2861a8',
    950: '#000000',
  },
}
SCSS
$custom: #2861a8;
$custom-light: #748dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2861a8",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 168
  },
  "hsl": {
    "h": 213.281,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.12834,
    "h": 255.6
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#2861A8
secondary
#C39B69
accent
#9D43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2861A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2861A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva