#2862A9#2862A9

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

Color values

HEX#2862A9
RGBrgb(40, 98, 169)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 76%, 66%)
CMYKcmyk(76.3%, 42%, 0%, 33.7%)
CIE-LABlab(41.29, 6.64, -43.49)
CIE-LCHlch(41.29, 44.00, 278.68°)
OKLaboklab(49.55% -0.0326 -0.1243)
OKLCHoklch(49.55% 0.129 255.3)
XYZxyz(12.4015, 12.0496, 39.2006)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A9 #A96F28
analogous
#28A2A9 #2862A9 #2E28A9
triadic
#2862A9 #A92862 #62A928
tetradic
#2862A9 #A928A2 #A96F28 #28A92E
square
#2862A9 #A928A2 #A96F28 #28A92E
split-complementary
#2862A9 #A92E28 #A2A928
monochromatic
#112946 #1C4578 #2862A9 #3D80D1 #6FA0DD

Accessibility & contrast

On white

6.16
#2862A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2862A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862A9#FFFFFF#000000##FFFFFF
##2862A91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a9;
/* rgb */ color: rgb(40, 98, 169);
/* oklch */ color: oklch(49.6% 0.129 255.3);
Tailwind
colors: {
  custom: {
    50: '#748ec3',
    500: '#2862a9',
    950: '#000000',
  },
}
SCSS
$custom: #2862a9;
$custom-light: #748ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a9",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 169
  },
  "hsl": {
    "h": 213.023,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.12856,
    "h": 255.3
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#2862A9
secondary
#C49B69
accent
#9C43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A9

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

Preview Lab → · Contrast checker → · Palette generator →

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