#2868AC#2868AC

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

Color values

HEX#2868AC
RGBrgb(40, 104, 172)
HSLhsl(211, 62%, 42%)
HSVhsv(211, 77%, 67%)
CMYKcmyk(76.7%, 39.5%, 0%, 32.5%)
CIE-LABlab(43.25, 3.97, -42.14)
CIE-LCHlch(43.25, 42.32, 275.39°)
OKLaboklab(51.14% -0.0374 -0.1203)
OKLCHoklch(51.14% 0.126 252.7)
XYZxyz(13.2690, 13.3288, 40.8951)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2868AC #AC6C28
analogous
#28AAAC #2868AC #2A28AC
triadic
#2868AC #AC2868 #68AC28
tetradic
#2868AC #AC28AA #AC6C28 #28AC2A
square
#2868AC #AC28AA #AC6C28 #28AC2A
split-complementary
#2868AC #AC2A28 #AAAC28
monochromatic
#112C49 #1C4A7A #2868AC #3F86D2 #71A6DE

Accessibility & contrast

On white

5.73
#2868AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2868AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2868AC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2868AC#FFFFFF#000000##FFFFFF
##2868AC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486DAF
Deuteranopia (green-blind)
#3361AB
Tritanopia (blue-blind)
#007881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2868ac;
/* rgb */ color: rgb(40, 104, 172);
/* oklch */ color: oklch(51.1% 0.126 252.7);
Tailwind
colors: {
  custom: {
    50: '#7592c5',
    500: '#2868ac',
    950: '#000000',
  },
}
SCSS
$custom: #2868ac;
$custom-light: #7592c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2868ac",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 172
  },
  "hsl": {
    "h": 210.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.12593,
    "h": 252.7
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#2868AC
secondary
#C5996B
accent
#9642E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0D13
muted
#7C7D82

Preview Lab

Preview with #2868AC

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

Preview Lab → · Contrast checker → · Palette generator →

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