#2873DE#2873DE

#2873DE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.179 H 258.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2873DE
RGBrgb(40, 115, 222)
HSLhsl(215, 73%, 51%)
HSVhsv(215, 82%, 87%)
CMYKcmyk(82%, 48.2%, 0%, 12.9%)
CIE-LABlab(49.48, 16.09, -60.95)
CIE-LCHlch(49.48, 63.03, 284.79°)
OKLaboklab(56.94% -0.0365 -0.1753)
OKLCHoklch(56.94% 0.179 258.2)
XYZxyz(20.1858, 17.9840, 71.5004)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873DE #DE9328
analogous
#28CEDE #2873DE #3828DE
triadic
#2873DE #DE2873 #73DE28
tetradic
#2873DE #DE28CE #DE9328 #28DE38
square
#2873DE #DE28CE #DE9328 #28DE38
split-complementary
#2873DE #DE3828 #CEDE28
monochromatic
#133D79 #1B57AE #2873DE #5D96E6 #92B8EE

Accessibility & contrast

On white

4.57
#2873DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2873DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2873DE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873DE#FFFFFF#000000##000000
##2873DE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2873de;
/* rgb */ color: rgb(40, 115, 222);
/* oklch */ color: oklch(56.9% 0.179 258.2);
Tailwind
colors: {
  custom: {
    50: '#809ae9',
    500: '#2873de',
    950: '#000000',
  },
}
SCSS
$custom: #2873de;
$custom-light: #809ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#2873de",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 215.275,
    "s": 73.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.1791,
    "h": 258.2
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2873DE

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

Preview Lab → · Contrast checker → · Palette generator →

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