#2862A8#2862A8

#2862A8 is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.5% C 0.127 H 255.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2862A8
RGBrgb(40, 98, 168)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 76%, 66%)
CMYKcmyk(76.2%, 41.7%, 0%, 34.1%)
CIE-LABlab(41.24, 6.26, -43.00)
CIE-LCHlch(41.24, 43.45, 278.28°)
OKLaboklab(49.49% -0.0328 -0.1229)
OKLCHoklch(49.49% 0.127 255)
XYZxyz(12.3080, 12.0122, 38.7081)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A8 #A86E28
analogous
#28A2A8 #2862A8 #2E28A8
triadic
#2862A8 #A82862 #62A828
tetradic
#2862A8 #A828A2 #A86E28 #28A82E
square
#2862A8 #A828A2 #A86E28 #28A82E
split-complementary
#2862A8 #A82E28 #A2A828
monochromatic
#102845 #1C4577 #2862A8 #3D80D1 #6EA0DC

Accessibility & contrast

On white

6.17
#2862A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2862A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862A8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A8#FFFFFF#000000##FFFFFF
##2862A81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2862a8;
/* rgb */ color: rgb(40, 98, 168);
/* oklch */ color: oklch(49.5% 0.127 255.0);
Tailwind
colors: {
  custom: {
    50: '#748ec2',
    500: '#2862a8',
    950: '#000000',
  },
}
SCSS
$custom: #2862a8;
$custom-light: #748ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a8",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 168
  },
  "hsl": {
    "h": 212.813,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.1272,
    "h": 255
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#2862A8
secondary
#C39A69
accent
#9B43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A8

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

Preview Lab → · Contrast checker → · Palette generator →

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