#2874DE#2874DE

#2874DE is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 57.2% C 0.178 H 257.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2874DE
RGBrgb(40, 116, 222)
HSLhsl(215, 73%, 51%)
HSVhsv(215, 82%, 87%)
CMYKcmyk(82%, 47.7%, 0%, 12.9%)
CIE-LABlab(49.75, 15.46, -60.50)
CIE-LCHlch(49.75, 62.44, 284.33°)
OKLaboklab(57.15% -0.0372 -0.174)
OKLCHoklch(57.15% 0.178 257.9)
XYZxyz(20.3004, 18.2133, 71.5387)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874DE #DE9228
analogous
#28CFDE #2874DE #3728DE
triadic
#2874DE #DE2874 #74DE28
tetradic
#2874DE #DE28CF #DE9228 #28DE37
square
#2874DE #DE28CF #DE9228 #28DE37
split-complementary
#2874DE #DE3728 #CFDE28
monochromatic
#133D79 #1B58AE #2874DE #5D96E6 #92B9EE

Accessibility & contrast

On white

4.52
#2874DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2874DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2874DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874DE#FFFFFF#000000##000000
##2874DE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2874de;
/* rgb */ color: rgb(40, 116, 222);
/* oklch */ color: oklch(57.2% 0.178 257.9);
Tailwind
colors: {
  custom: {
    50: '#809be9',
    500: '#2874de',
    950: '#000000',
  },
}
SCSS
$custom: #2874de;
$custom-light: #809be9;
$custom-dark: #000000;
JSON
{
  "hex": "#2874de",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 214.945,
    "s": 73.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.17795,
    "h": 257.9
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#2874DE
secondary
#D9B889
accent
#A338F0
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2874DE

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

Preview Lab → · Contrast checker → · Palette generator →

#2874DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva