#2862AC#2862AC

#2862AC is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.133 H 256.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2862AC
RGBrgb(40, 98, 172)
HSLhsl(214, 62%, 42%)
HSVhsv(214, 77%, 67%)
CMYKcmyk(76.7%, 43%, 0%, 32.5%)
CIE-LABlab(41.48, 7.79, -44.98)
CIE-LCHlch(41.48, 45.65, 279.83°)
OKLaboklab(49.75% -0.032 -0.1287)
OKLCHoklch(49.75% 0.133 256)
XYZxyz(12.6864, 12.1636, 40.7009)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2862AC #AC7228
analogous
#28A4AC #2862AC #3028AC
triadic
#2862AC #AC2862 #62AC28
tetradic
#2862AC #AC28A4 #AC7228 #28AC30
square
#2862AC #AC28A4 #AC7228 #28AC30
split-complementary
#2862AC #AC3028 #A4AC28
monochromatic
#112949 #1C467A #2862AC #3F80D2 #71A1DE

Accessibility & contrast

On white

6.12
#2862AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2862AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2862AC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2862AC#FFFFFF#000000##FFFFFF
##2862AC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#255CAB
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2862ac;
/* rgb */ color: rgb(40, 98, 172);
/* oklch */ color: oklch(49.8% 0.133 256.0);
Tailwind
colors: {
  custom: {
    50: '#758ec5',
    500: '#2862ac',
    950: '#000000',
  },
}
SCSS
$custom: #2862ac;
$custom-light: #758ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2862ac",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 213.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.13261,
    "h": 256
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#2862AC
secondary
#C59D6B
accent
#9E42E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2862AC

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

Preview Lab → · Contrast checker → · Palette generator →

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