#2862A1#2862A1

#2862A1 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.118 H 253.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2862A1
RGBrgb(40, 98, 161)
HSLhsl(211, 60%, 39%)
HSVhsv(211, 75%, 63%)
CMYKcmyk(75.2%, 39.1%, 0%, 36.9%)
CIE-LABlab(40.83, 3.58, -39.50)
CIE-LCHlch(40.83, 39.66, 275.18°)
OKLaboklab(49.04% -0.0345 -0.1126)
OKLCHoklch(49.04% 0.118 253)
XYZxyz(11.6734, 11.7584, 35.3657)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862A1 #A16728
analogous
#289FA1 #2862A1 #2B28A1
triadic
#2862A1 #A12862 #62A128
tetradic
#2862A1 #A1289F #A16728 #28A12B
square
#2862A1 #A1289F #A16728 #28A12B
split-complementary
#2862A1 #A12B28 #9FA128
monochromatic
#10263F #1C4470 #2862A1 #3980CE #6A9FDA

Accessibility & contrast

On white

6.26
#2862A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2862A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862A1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862A1#FFFFFF#000000##FFFFFF
##2862A11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4566A4
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#007179
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2862a1;
/* rgb */ color: rgb(40, 98, 161);
/* oklch */ color: oklch(49.0% 0.118 253.0);
Tailwind
colors: {
  custom: {
    50: '#738ebd',
    500: '#2862a1',
    950: '#000000',
  },
}
SCSS
$custom: #2862a1;
$custom-light: #738ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2862a1",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 161
  },
  "hsl": {
    "h": 211.24,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49038,
    "c": 0.11779,
    "h": 253
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#2862A1
secondary
#C09465
accent
#9744E3
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2862A1

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

Preview Lab → · Contrast checker → · Palette generator →

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