#2867AF#2867AF

#2867AF is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.1% C 0.131 H 254.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2867AF
RGBrgb(40, 103, 175)
HSLhsl(212, 63%, 42%)
HSVhsv(212, 77%, 69%)
CMYKcmyk(77.1%, 41.1%, 0%, 31.4%)
CIE-LABlab(43.13, 5.75, -44.10)
CIE-LCHlch(43.13, 44.47, 277.43°)
OKLaboklab(51.09% -0.0357 -0.126)
OKLCHoklch(51.09% 0.131 254.2)
XYZxyz(13.4603, 13.2452, 42.3963)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AF #AF7028
analogous
#28ABAF #2867AF #2C28AF
triadic
#2867AF #AF2867 #67AF28
tetradic
#2867AF #AF28AB #AF7028 #28AF2C
square
#2867AF #AF28AB #AF7028 #28AF2C
split-complementary
#2867AF #AF2C28 #ABAF28
monochromatic
#112C4B #1D4A7D #2867AF #4185D4 #73A5DF

Accessibility & contrast

On white

5.75
#2867AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2867AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867AF#FFFFFF#000000##FFFFFF
##2867AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#2E60AE
Tritanopia (blue-blind)
#007882
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867af;
/* rgb */ color: rgb(40, 103, 175);
/* oklch */ color: oklch(51.1% 0.131 254.2);
Tailwind
colors: {
  custom: {
    50: '#7691c7',
    500: '#2867af',
    950: '#000000',
  },
}
SCSS
$custom: #2867af;
$custom-light: #7691c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2867af",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 175
  },
  "hsl": {
    "h": 212,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.13099,
    "h": 254.2
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#2867AF
secondary
#C69C6D
accent
#9942E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2867AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva