#2728BD#2728BD

#2728BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.221 H 270.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2728BD
RGBrgb(39, 40, 189)
HSLhsl(240, 66%, 45%)
HSVhsv(240, 79%, 74%)
CMYKcmyk(79.4%, 78.8%, 0%, 25.9%)
CIE-LABlab(28.44, 50.47, -76.28)
CIE-LCHlch(28.44, 91.47, 303.49°)
OKLaboklab(40.48% 0.0024 -0.2209)
OKLCHoklch(40.48% 0.221 270.6)
XYZxyz(10.7777, 5.6218, 48.6513)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728BD #BDBC27
analogous
#2773BD #2728BD #7127BD
triadic
#2728BD #BD2728 #28BD27
tetradic
#2728BD #BD2773 #BDBC27 #27BD71
square
#2728BD #BD2773 #BDBC27 #27BD71
split-complementary
#2728BD #BD7127 #73BD27
monochromatic
#121358 #1D1D8A #2728BD #4849D9 #7B7BE4

Accessibility & contrast

On white

9.88
#2728BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2728BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2728BD
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2728BD#FFFFFF#000000##FFFFFF
##2728BD1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2728bd;
/* rgb */ color: rgb(39, 40, 189);
/* oklch */ color: oklch(40.5% 0.221 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d65d2',
    500: '#2728bd',
    950: '#000000',
  },
}
SCSS
$custom: #2728bd;
$custom-light: #7d65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2728bd",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 239.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.2209,
    "h": 270.6
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#2728BD
secondary
#CCCB74
accent
#E83FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2728BD

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

Preview Lab → · Contrast checker → · Palette generator →

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