#2862AB#2862AB

#2862AB is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.7% C 0.131 H 255.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2862AB
RGBrgb(40, 98, 171)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 77%, 67%)
CMYKcmyk(76.6%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.41, 7.41, -44.48)
CIE-LCHlch(41.41, 45.10, 279.45°)
OKLaboklab(49.68% -0.0322 -0.1272)
OKLCHoklch(49.68% 0.131 255.8)
XYZxyz(12.5907, 12.1253, 40.1970)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862AB #AB7128
analogous
#28A4AB #2862AB #3028AB
triadic
#2862AB #AB2862 #62AB28
tetradic
#2862AB #AB28A4 #AB7128 #28AB30
square
#2862AB #AB28A4 #AB7128 #28AB30
split-complementary
#2862AB #AB3028 #A4AB28
monochromatic
#112948 #1C4679 #2862AB #3E80D2 #70A0DE

Accessibility & contrast

On white

6.13
#2862AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2862AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862AB#FFFFFF#000000##FFFFFF
##2862AB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862ab;
/* rgb */ color: rgb(40, 98, 171);
/* oklch */ color: oklch(49.7% 0.131 255.8);
Tailwind
colors: {
  custom: {
    50: '#758ec4',
    500: '#2862ab',
    950: '#000000',
  },
}
SCSS
$custom: #2862ab;
$custom-light: #758ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2862ab",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 213.435,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.13126,
    "h": 255.8
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#2862AB
secondary
#C49D6A
accent
#9D43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862AB

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

Preview Lab → · Contrast checker → · Palette generator →

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