#2862AA#2862AA

#2862AA is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.6% C 0.130 H 255.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2862AA
RGBrgb(40, 98, 170)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 76%, 67%)
CMYKcmyk(76.5%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.35, 7.02, -43.99)
CIE-LCHlch(41.35, 44.55, 279.07°)
OKLaboklab(49.62% -0.0324 -0.1258)
OKLCHoklch(49.62% 0.13 255.6)
XYZxyz(12.4958, 12.0873, 39.6969)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862AA #AA7028
analogous
#28A3AA #2862AA #2F28AA
triadic
#2862AA #AA2862 #62AA28
tetradic
#2862AA #AA28A3 #AA7028 #28AA2F
square
#2862AA #AA28A3 #AA7028 #28AA2F
split-complementary
#2862AA #AA2F28 #A3AA28
monochromatic
#112947 #1C4578 #2862AA #3E80D2 #6FA0DD

Accessibility & contrast

On white

6.14
#2862AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2862AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862AA#FFFFFF#000000##FFFFFF
##2862AA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862aa;
/* rgb */ color: rgb(40, 98, 170);
/* oklch */ color: oklch(49.6% 0.130 255.6);
Tailwind
colors: {
  custom: {
    50: '#758ec4',
    500: '#2862aa',
    950: '#000000',
  },
}
SCSS
$custom: #2862aa;
$custom-light: #758ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2862aa",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 213.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.12991,
    "h": 255.6
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#2862AA
secondary
#C49C6A
accent
#9D43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862AA

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

Preview Lab → · Contrast checker → · Palette generator →

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