#2862A3#2862A3

#2862A3 is a mid, vivid cyan. Relative luminance 0.118; OKLCH L 49.2% C 0.120 H 253.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2862A3
RGBrgb(40, 98, 163)
HSLhsl(212, 61%, 40%)
HSVhsv(212, 75%, 64%)
CMYKcmyk(75.5%, 39.9%, 0%, 36.1%)
CIE-LABlab(40.94, 4.34, -40.50)
CIE-LCHlch(40.94, 40.74, 276.12°)
OKLaboklab(49.16% -0.034 -0.1156)
OKLCHoklch(49.16% 0.12 253.6)
XYZxyz(11.8512, 11.8295, 36.3020)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A3 #A36928
analogous
#28A0A3 #2862A3 #2B28A3
triadic
#2862A3 #A32862 #62A328
tetradic
#2862A3 #A328A0 #A36928 #28A32B
square
#2862A3 #A328A0 #A36928 #28A32B
split-complementary
#2862A3 #A32B28 #A0A328
monochromatic
#102741 #1C4472 #2862A3 #3A80CF #6BA0DB

Accessibility & contrast

On white

6.24
#2862A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2862A3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A3#FFFFFF#000000##FFFFFF
##2862A31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A6
Deuteranopia (green-blind)
#305BA2
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a3;
/* rgb */ color: rgb(40, 98, 163);
/* oklch */ color: oklch(49.2% 0.120 253.6);
Tailwind
colors: {
  custom: {
    50: '#738ebe',
    500: '#2862a3',
    950: '#000000',
  },
}
SCSS
$custom: #2862a3;
$custom-light: #738ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a3",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 163
  },
  "hsl": {
    "h": 211.707,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.12047,
    "h": 253.6
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#2862A3
secondary
#C19666
accent
#9844E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A3

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

Preview Lab → · Contrast checker → · Palette generator →

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