#2862A6#2862A6

#2862A6 is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.4% C 0.125 H 254.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2862A6
RGBrgb(40, 98, 166)
HSLhsl(212, 61%, 40%)
HSVhsv(212, 76%, 65%)
CMYKcmyk(75.9%, 41%, 0%, 34.9%)
CIE-LABlab(41.12, 5.49, -42.00)
CIE-LCHlch(41.12, 42.36, 277.45°)
OKLaboklab(49.36% -0.0333 -0.12)
OKLCHoklch(49.36% 0.125 254.5)
XYZxyz(12.1231, 11.9383, 37.7344)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A6 #A66C28
analogous
#28A1A6 #2862A6 #2D28A6
triadic
#2862A6 #A62862 #62A628
tetradic
#2862A6 #A628A1 #A66C28 #28A62D
square
#2862A6 #A628A1 #A66C28 #28A62D
split-complementary
#2862A6 #A62D28 #A1A628
monochromatic
#102843 #1C4575 #2862A6 #3B80D0 #6DA0DC

Accessibility & contrast

On white

6.20
#2862A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2862A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862A6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A6#FFFFFF#000000##FFFFFF
##2862A61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A9
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#00727C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a6;
/* rgb */ color: rgb(40, 98, 166);
/* oklch */ color: oklch(49.4% 0.125 254.5);
Tailwind
colors: {
  custom: {
    50: '#748ec1',
    500: '#2862a6',
    950: '#000000',
  },
}
SCSS
$custom: #2862a6;
$custom-light: #748ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a6",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 166
  },
  "hsl": {
    "h": 212.381,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.12451,
    "h": 254.5
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#2862A6
secondary
#C29967
accent
#9A44E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A6

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

Preview Lab → · Contrast checker → · Palette generator →

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