#2862B3#2862B3

#2862B3 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.2% C 0.142 H 257.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2862B3
RGBrgb(40, 98, 179)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 78%, 70%)
CMYKcmyk(77.7%, 45.3%, 0%, 29.8%)
CIE-LABlab(41.91, 10.48, -48.40)
CIE-LCHlch(41.91, 49.52, 282.22°)
OKLaboklab(50.22% -0.0306 -0.1388)
OKLCHoklch(50.22% 0.142 257.6)
XYZxyz(13.3764, 12.4396, 44.3352)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862B3 #B37928
analogous
#28A7B3 #2862B3 #3428B3
triadic
#2862B3 #B32862 #62B328
tetradic
#2862B3 #B328A7 #B37928 #28B334
square
#2862B3 #B328A7 #B37928 #28B334
split-complementary
#2862B3 #B33428 #A7B328
monochromatic
#122B4F #1D4781 #2862B3 #4380D5 #75A2E0

Accessibility & contrast

On white

6.02
#2862B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2862B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862B3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862B3#FFFFFF#000000##FFFFFF
##2862B31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2862b3;
/* rgb */ color: rgb(40, 98, 179);
/* oklch */ color: oklch(50.2% 0.142 257.6);
Tailwind
colors: {
  custom: {
    50: '#778eca',
    500: '#2862b3',
    950: '#000000',
  },
}
SCSS
$custom: #2862b3;
$custom-light: #778eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2862b3",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 214.964,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.1421,
    "h": 257.6
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#2862B3
secondary
#C8A36F
accent
#A241E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862B3

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

Preview Lab → · Contrast checker → · Palette generator →

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