#2862A4#2862A4

#2862A4 is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.2% C 0.122 H 253.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2862A4
RGBrgb(40, 98, 164)
HSLhsl(212, 61%, 40%)
HSVhsv(212, 76%, 64%)
CMYKcmyk(75.6%, 40.2%, 0%, 35.7%)
CIE-LABlab(41.00, 4.73, -41.00)
CIE-LCHlch(41.00, 41.28, 276.57°)
OKLaboklab(49.23% -0.0338 -0.117)
OKLCHoklch(49.23% 0.122 253.9)
XYZxyz(11.9411, 11.8655, 36.7757)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A4 #A46A28
analogous
#28A0A4 #2862A4 #2C28A4
triadic
#2862A4 #A42862 #62A428
tetradic
#2862A4 #A428A0 #A46A28 #28A42C
square
#2862A4 #A428A0 #A46A28 #28A42C
split-complementary
#2862A4 #A42C28 #A0A428
monochromatic
#102742 #1C4573 #2862A4 #3A80CF #6BA0DB

Accessibility & contrast

On white

6.23
#2862A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2862A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862A4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A4#FFFFFF#000000##FFFFFF
##2862A41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#2F5BA3
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a4;
/* rgb */ color: rgb(40, 98, 164);
/* oklch */ color: oklch(49.2% 0.122 253.9);
Tailwind
colors: {
  custom: {
    50: '#738ebf',
    500: '#2862a4',
    950: '#000000',
  },
}
SCSS
$custom: #2862a4;
$custom-light: #738ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a4",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 164
  },
  "hsl": {
    "h": 211.935,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.12182,
    "h": 253.9
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#2862A4
secondary
#C19766
accent
#9944E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A4

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

Preview Lab → · Contrast checker → · Palette generator →

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