#2861A5#2861A5

#2861A5 is a mid, vivid cyan. Relative luminance 0.117; OKLCH L 49.1% C 0.124 H 254.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2861A5
RGBrgb(40, 97, 165)
HSLhsl(213, 61%, 40%)
HSVhsv(213, 76%, 65%)
CMYKcmyk(75.8%, 41.2%, 0%, 35.3%)
CIE-LABlab(40.76, 5.75, -41.98)
CIE-LCHlch(40.76, 42.37, 277.80°)
OKLaboklab(49.06% -0.0326 -0.1199)
OKLCHoklch(49.06% 0.124 254.8)
XYZxyz(11.9388, 11.7158, 37.2222)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861A5 #A56C28
analogous
#28A0A5 #2861A5 #2D28A5
triadic
#2861A5 #A52861 #61A528
tetradic
#2861A5 #A528A0 #A56C28 #28A52D
square
#2861A5 #A528A0 #A56C28 #28A52D
split-complementary
#2861A5 #A52D28 #A0A528
monochromatic
#102742 #1C4474 #2861A5 #3B7FCF #6C9FDB

Accessibility & contrast

On white

6.28
#2861A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2861A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861A5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861A5#FFFFFF#000000##FFFFFF
##2861A51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#00717B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2861a5;
/* rgb */ color: rgb(40, 97, 165);
/* oklch */ color: oklch(49.1% 0.124 254.8);
Tailwind
colors: {
  custom: {
    50: '#748dc0',
    500: '#2861a5',
    950: '#000000',
  },
}
SCSS
$custom: #2861a5;
$custom-light: #748dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2861a5",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 165
  },
  "hsl": {
    "h": 212.64,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.12427,
    "h": 254.8
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#2861A5
secondary
#C29867
accent
#9B44E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2861A5

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

Preview Lab → · Contrast checker → · Palette generator →

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