#2868AB#2868AB

#2868AB is a mid, vivid cyan. Relative luminance 0.133; OKLCH L 51.1% C 0.125 H 252.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2868AB
RGBrgb(40, 104, 171)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 77%, 67%)
CMYKcmyk(76.6%, 39.2%, 0%, 32.9%)
CIE-LABlab(43.20, 3.59, -41.64)
CIE-LCHlch(43.20, 41.79, 274.93°)
OKLaboklab(51.07% -0.0376 -0.1188)
OKLCHoklch(51.07% 0.125 252.4)
XYZxyz(13.1733, 13.2905, 40.3912)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2868AB #AB6B28
analogous
#28AAAB #2868AB #2A28AB
triadic
#2868AB #AB2868 #68AB28
tetradic
#2868AB #AB28AA #AB6B28 #28AB2A
square
#2868AB #AB28AA #AB6B28 #28AB2A
split-complementary
#2868AB #AB2A28 #AAAB28
monochromatic
#112C48 #1C4A79 #2868AB #3E86D2 #70A5DE

Accessibility & contrast

On white

5.74
#2868AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2868AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2868AB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2868AB#FFFFFF#000000##FFFFFF
##2868AB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486DAE
Deuteranopia (green-blind)
#3461AA
Tritanopia (blue-blind)
#007881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2868ab;
/* rgb */ color: rgb(40, 104, 171);
/* oklch */ color: oklch(51.1% 0.125 252.4);
Tailwind
colors: {
  custom: {
    50: '#7592c4',
    500: '#2868ab',
    950: '#000000',
  },
}
SCSS
$custom: #2868ab;
$custom-light: #7592c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2868ab",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 210.687,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.12461,
    "h": 252.4
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#2868AB
secondary
#C4986A
accent
#9643E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0D13
muted
#7C7D82

Preview Lab

Preview with #2868AB

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

Preview Lab → · Contrast checker → · Palette generator →

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