#2728C4#2728C4

#2728C4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.229 H 270.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2728C4
RGBrgb(39, 40, 196)
HSLhsl(240, 67%, 46%)
HSVhsv(240, 80%, 77%)
CMYKcmyk(80.1%, 79.6%, 0%, 23.1%)
CIE-LABlab(29.24, 52.69, -79.07)
CIE-LCHlch(29.24, 95.02, 303.68°)
OKLaboklab(41.28% 0.001 -0.229)
OKLCHoklch(41.28% 0.229 270.3)
XYZxyz(11.5559, 5.9331, 52.7500)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728C4 #C4C327
analogous
#2776C4 #2728C4 #7427C4
triadic
#2728C4 #C42728 #28C427
tetradic
#2728C4 #C42776 #C4C327 #27C474
square
#2728C4 #C42776 #C4C327 #27C474
split-complementary
#2728C4 #C47427 #76C427
monochromatic
#13135E #1D1E91 #2728C4 #4D4EDC #8080E6

Accessibility & contrast

On white

9.60
#2728C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2728C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2728C4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2728C4#FFFFFF#000000##FFFFFF
##2728C41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC8
Deuteranopia (green-blind)
#003DC1
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2728c4;
/* rgb */ color: rgb(39, 40, 196);
/* oklch */ color: oklch(41.3% 0.229 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f65d7',
    500: '#2728c4',
    950: '#000000',
  },
}
SCSS
$custom: #2728c4;
$custom-light: #7f65d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2728c4",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 196
  },
  "hsl": {
    "h": 239.618,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.22897,
    "h": 270.3
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#2728C4
secondary
#CECE79
accent
#E93EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2728C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2728C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva