#2867AE#2867AE

#2867AE is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.0% C 0.130 H 253.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2867AE
RGBrgb(40, 103, 174)
HSLhsl(212, 63%, 42%)
HSVhsv(212, 77%, 68%)
CMYKcmyk(77%, 40.8%, 0%, 31.8%)
CIE-LABlab(43.07, 5.37, -43.60)
CIE-LCHlch(43.07, 43.93, 277.02°)
OKLaboklab(51.03% -0.036 -0.1246)
OKLCHoklch(51.03% 0.13 253.9)
XYZxyz(13.3625, 13.2061, 41.8810)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AE #AE6F28
analogous
#28AAAE #2867AE #2C28AE
triadic
#2867AE #AE2867 #67AE28
tetradic
#2867AE #AE28AA #AE6F28 #28AE2C
square
#2867AE #AE28AA #AE6F28 #28AE2C
split-complementary
#2867AE #AE2C28 #AAAE28
monochromatic
#112C4A #1D4A7C #2867AE #4085D3 #72A5DF

Accessibility & contrast

On white

5.77
#2867AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2867AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867AE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867AE#FFFFFF#000000##FFFFFF
##2867AE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CB1
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#007882
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867ae;
/* rgb */ color: rgb(40, 103, 174);
/* oklch */ color: oklch(51.0% 0.130 253.9);
Tailwind
colors: {
  custom: {
    50: '#7591c6',
    500: '#2867ae',
    950: '#000000',
  },
}
SCSS
$custom: #2867ae;
$custom-light: #7591c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2867ae",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 174
  },
  "hsl": {
    "h": 211.791,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.12966,
    "h": 253.9
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2867AE

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

Preview Lab → · Contrast checker → · Palette generator →

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