#2862AD#2862AD

#2862AD is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.134 H 256.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2862AD
RGBrgb(40, 98, 173)
HSLhsl(214, 62%, 42%)
HSVhsv(214, 77%, 68%)
CMYKcmyk(76.9%, 43.4%, 0%, 32.2%)
CIE-LABlab(41.54, 8.17, -45.47)
CIE-LCHlch(41.54, 46.20, 280.19°)
OKLaboklab(49.82% -0.0317 -0.1301)
OKLCHoklch(49.82% 0.134 256.3)
XYZxyz(12.7828, 12.2021, 41.2086)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862AD #AD7328
analogous
#28A4AD #2862AD #3128AD
triadic
#2862AD #AD2862 #62AD28
tetradic
#2862AD #AD28A4 #AD7328 #28AD31
square
#2862AD #AD28A4 #AD7328 #28AD31
split-complementary
#2862AD #AD3128 #A4AD28
monochromatic
#112A4A #1D467B #2862AD #3F80D3 #71A1DE

Accessibility & contrast

On white

6.10
#2862AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2862AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862AD#FFFFFF#000000##FFFFFF
##2862AD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862ad;
/* rgb */ color: rgb(40, 98, 173);
/* oklch */ color: oklch(49.8% 0.134 256.3);
Tailwind
colors: {
  custom: {
    50: '#758ec6',
    500: '#2862ad',
    950: '#000000',
  },
}
SCSS
$custom: #2862ad;
$custom-light: #758ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2862ad",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 213.835,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.13397,
    "h": 256.3
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#2862AD
secondary
#C59E6C
accent
#9E42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862AD

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

Preview Lab → · Contrast checker → · Palette generator →

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