#2862B1#2862B1

#2862B1 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.1% C 0.139 H 257.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2862B1
RGBrgb(40, 98, 177)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 77%, 69%)
CMYKcmyk(77.4%, 44.6%, 0%, 30.6%)
CIE-LABlab(41.78, 9.71, -47.43)
CIE-LCHlch(41.78, 48.41, 281.57°)
OKLaboklab(50.09% -0.0309 -0.1359)
OKLCHoklch(50.09% 0.139 257.2)
XYZxyz(13.1756, 12.3593, 43.2776)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862B1 #B17728
analogous
#28A6B1 #2862B1 #3328B1
triadic
#2862B1 #B12862 #62B128
tetradic
#2862B1 #B128A6 #B17728 #28B133
square
#2862B1 #B128A6 #B17728 #28B133
split-complementary
#2862B1 #B13328 #A6B128
monochromatic
#112B4D #1D467F #2862B1 #4280D4 #74A1E0

Accessibility & contrast

On white

6.05
#2862B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2862B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862B1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862B1#FFFFFF#000000##FFFFFF
##2862B11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B4
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2862b1;
/* rgb */ color: rgb(40, 98, 177);
/* oklch */ color: oklch(50.1% 0.139 257.2);
Tailwind
colors: {
  custom: {
    50: '#768ec9',
    500: '#2862b1',
    950: '#000000',
  },
}
SCSS
$custom: #2862b1;
$custom-light: #768ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2862b1",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 177
  },
  "hsl": {
    "h": 214.599,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.13939,
    "h": 257.2
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#2862B1
secondary
#C7A16E
accent
#A142E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862B1

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

Preview Lab → · Contrast checker → · Palette generator →

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