#2862AF#2862AF

#2862AF is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 50.0% C 0.137 H 256.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2862AF
RGBrgb(40, 98, 175)
HSLhsl(214, 63%, 42%)
HSVhsv(214, 77%, 69%)
CMYKcmyk(77.1%, 44%, 0%, 31.4%)
CIE-LABlab(41.66, 8.94, -46.45)
CIE-LCHlch(41.66, 47.30, 280.90°)
OKLaboklab(49.95% -0.0313 -0.133)
OKLCHoklch(49.95% 0.137 256.7)
XYZxyz(12.9778, 12.2801, 42.2355)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862AF #AF7528
analogous
#28A6AF #2862AF #3128AF
triadic
#2862AF #AF2862 #62AF28
tetradic
#2862AF #AF28A6 #AF7528 #28AF31
square
#2862AF #AF28A6 #AF7528 #28AF31
split-complementary
#2862AF #AF3128 #A6AF28
monochromatic
#112A4B #1D467D #2862AF #4180D4 #73A1DF

Accessibility & contrast

On white

6.08
#2862AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2862AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862AF#FFFFFF#000000##FFFFFF
##2862AF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#215DAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862af;
/* rgb */ color: rgb(40, 98, 175);
/* oklch */ color: oklch(50.0% 0.137 256.7);
Tailwind
colors: {
  custom: {
    50: '#768ec7',
    500: '#2862af',
    950: '#000000',
  },
}
SCSS
$custom: #2862af;
$custom-light: #768ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2862af",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 214.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.13667,
    "h": 256.7
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#2862AF
secondary
#C6A06D
accent
#9F42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862AF

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

Preview Lab → · Contrast checker → · Palette generator →

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