#2862B2#2862B2

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

Color values

HEX#2862B2
RGBrgb(40, 98, 178)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 78%, 70%)
CMYKcmyk(77.5%, 44.9%, 0%, 30.2%)
CIE-LABlab(41.84, 10.10, -47.91)
CIE-LCHlch(41.84, 48.97, 281.90°)
OKLaboklab(50.16% -0.0307 -0.1373)
OKLCHoklch(50.16% 0.141 257.4)
XYZxyz(13.2757, 12.3993, 43.8045)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862B2 #B27828
analogous
#28A7B2 #2862B2 #3328B2
triadic
#2862B2 #B22862 #62B228
tetradic
#2862B2 #B228A7 #B27828 #28B233
square
#2862B2 #B228A7 #B27828 #28B233
split-complementary
#2862B2 #B23328 #A7B228
monochromatic
#122B4E #1D4680 #2862B2 #4380D5 #75A2E0

Accessibility & contrast

On white

6.03
#2862B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2862B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862B2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862B2#FFFFFF#000000##FFFFFF
##2862B21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2862b2;
/* rgb */ color: rgb(40, 98, 178);
/* oklch */ color: oklch(50.2% 0.141 257.4);
Tailwind
colors: {
  custom: {
    50: '#768ec9',
    500: '#2862b2',
    950: '#000000',
  },
}
SCSS
$custom: #2862b2;
$custom-light: #768ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2862b2",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 214.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.14074,
    "h": 257.4
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#2862B2
secondary
#C7A26F
accent
#A141E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862B2

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

Preview Lab → · Contrast checker → · Palette generator →

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