#2862A5#2862A5

#2862A5 is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.123 H 254.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2862A5
RGBrgb(40, 98, 165)
HSLhsl(212, 61%, 40%)
HSVhsv(212, 76%, 65%)
CMYKcmyk(75.8%, 40.6%, 0%, 35.3%)
CIE-LABlab(41.06, 5.11, -41.50)
CIE-LCHlch(41.06, 41.82, 277.02°)
OKLaboklab(49.29% -0.0335 -0.1185)
OKLCHoklch(49.29% 0.123 254.2)
XYZxyz(12.0318, 11.9017, 37.2532)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A5 #A56B28
analogous
#28A1A5 #2862A5 #2C28A5
triadic
#2862A5 #A52862 #62A528
tetradic
#2862A5 #A528A1 #A56B28 #28A52C
square
#2862A5 #A528A1 #A56B28 #28A52C
split-complementary
#2862A5 #A52C28 #A1A528
monochromatic
#102742 #1C4574 #2862A5 #3B80CF #6CA0DB

Accessibility & contrast

On white

6.21
#2862A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2862A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862A5#FFFFFF#000000##FFFFFF
##2862A51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a5;
/* rgb */ color: rgb(40, 98, 165);
/* oklch */ color: oklch(49.3% 0.123 254.2);
Tailwind
colors: {
  custom: {
    50: '#748ec0',
    500: '#2862a5',
    950: '#000000',
  },
}
SCSS
$custom: #2862a5;
$custom-light: #748ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a5",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 165
  },
  "hsl": {
    "h": 212.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.12316,
    "h": 254.2
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#2862A5
secondary
#C29867
accent
#9A44E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A5

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

Preview Lab → · Contrast checker → · Palette generator →

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