#2862A2#2862A2

#2862A2 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.1% C 0.119 H 253.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2862A2
RGBrgb(40, 98, 162)
HSLhsl(211, 60%, 40%)
HSVhsv(211, 75%, 64%)
CMYKcmyk(75.3%, 39.5%, 0%, 36.5%)
CIE-LABlab(40.89, 3.96, -40.00)
CIE-LCHlch(40.89, 40.20, 275.66°)
OKLaboklab(49.1% -0.0343 -0.1141)
OKLCHoklch(49.1% 0.119 253.3)
XYZxyz(11.7619, 11.7938, 35.8320)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A2 #A26828
analogous
#289FA2 #2862A2 #2B28A2
triadic
#2862A2 #A22862 #62A228
tetradic
#2862A2 #A2289F #A26828 #28A22B
square
#2862A2 #A2289F #A26828 #28A22B
split-complementary
#2862A2 #A22B28 #9FA228
monochromatic
#102740 #1C4471 #2862A2 #3980CE #6A9FDA

Accessibility & contrast

On white

6.25
#2862A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2862A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862A2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A2#FFFFFF#000000##FFFFFF
##2862A21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2862a2;
/* rgb */ color: rgb(40, 98, 162);
/* oklch */ color: oklch(49.1% 0.119 253.3);
Tailwind
colors: {
  custom: {
    50: '#738ebe',
    500: '#2862a2',
    950: '#000000',
  },
}
SCSS
$custom: #2862a2;
$custom-light: #738ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a2",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 211.475,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.11912,
    "h": 253.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#2862A2
secondary
#C19565
accent
#9844E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A2

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

Preview Lab → · Contrast checker → · Palette generator →

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