#2862B0#2862B0

#2862B0 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 50.0% C 0.138 H 257.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2862B0
RGBrgb(40, 98, 176)
HSLhsl(214, 63%, 42%)
HSVhsv(214, 77%, 69%)
CMYKcmyk(77.3%, 44.3%, 0%, 31%)
CIE-LABlab(41.72, 9.33, -46.94)
CIE-LCHlch(41.72, 47.86, 281.24°)
OKLaboklab(50.02% -0.0311 -0.1345)
OKLCHoklch(50.02% 0.138 257)
XYZxyz(13.0763, 12.3196, 42.7546)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862B0 #B07628
analogous
#28A6B0 #2862B0 #3228B0
triadic
#2862B0 #B02862 #62B028
tetradic
#2862B0 #B028A6 #B07628 #28B032
square
#2862B0 #B028A6 #B07628 #28B032
split-complementary
#2862B0 #B03228 #A6B028
monochromatic
#112A4C #1D467E #2862B0 #4180D4 #73A1DF

Accessibility & contrast

On white

6.06
#2862B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2862B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2862B0#FFFFFF#000000##FFFFFF
##2862B01.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B3
Deuteranopia (green-blind)
#1F5DAE
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862b0;
/* rgb */ color: rgb(40, 98, 176);
/* oklch */ color: oklch(50.0% 0.138 257.0);
Tailwind
colors: {
  custom: {
    50: '#768ec8',
    500: '#2862b0',
    950: '#000000',
  },
}
SCSS
$custom: #2862b0;
$custom-light: #768ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2862b0",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 176
  },
  "hsl": {
    "h": 214.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.13803,
    "h": 257
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#2862B0
secondary
#C6A06D
accent
#A042E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862B0

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

Preview Lab → · Contrast checker → · Palette generator →

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