#2728A9#2728A9

#2728A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.197 H 271.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2728A9
RGBrgb(39, 40, 169)
HSLhsl(240, 63%, 41%)
HSVhsv(240, 77%, 66%)
CMYKcmyk(76.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.19, 43.94, -68.06)
CIE-LCHlch(26.19, 81.01, 302.84°)
OKLaboklab(38.25% 0.0062 -0.197)
OKLCHoklch(38.25% 0.197 271.8)
XYZxyz(8.7545, 4.8125, 37.9960)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728A9 #A9A827
analogous
#2769A9 #2728A9 #6727A9
triadic
#2728A9 #A92728 #28A927
tetradic
#2728A9 #A92769 #A9A827 #27A967
square
#2728A9 #A92769 #A9A827 #27A967
split-complementary
#2728A9 #A96727 #69A927
monochromatic
#101046 #1C1C77 #2728A9 #3B3DD2 #6D6EDD

Accessibility & contrast

On white

10.70
#2728A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2728A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2728A9
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2728A9#FFFFFF#000000##FFFFFF
##2728A91.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2728a9;
/* rgb */ color: rgb(39, 40, 169);
/* oklch */ color: oklch(38.2% 0.197 271.8);
Tailwind
colors: {
  custom: {
    50: '#7864c4',
    500: '#2728a9',
    950: '#000000',
  },
}
SCSS
$custom: #2728a9;
$custom-light: #7864c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2728a9",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 239.538,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.19712,
    "h": 271.8
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#2728A9
secondary
#C4C368
accent
#E442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2728A9

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

Preview Lab → · Contrast checker → · Palette generator →

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