#2728AA#2728AA

#2728AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.198 H 271.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2728AA
RGBrgb(39, 40, 170)
HSLhsl(240, 63%, 41%)
HSVhsv(240, 77%, 67%)
CMYKcmyk(77.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.30, 44.27, -68.48)
CIE-LCHlch(26.30, 81.54, 302.88°)
OKLaboklab(38.36% 0.006 -0.1982)
OKLCHoklch(38.36% 0.198 271.7)
XYZxyz(8.8487, 4.8502, 38.4923)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728AA #AAA927
analogous
#2769AA #2728AA #6727AA
triadic
#2728AA #AA2728 #28AA27
tetradic
#2728AA #AA2769 #AAA927 #27AA67
square
#2728AA #AA2769 #AAA927 #27AA67
split-complementary
#2728AA #AA6727 #69AA27
monochromatic
#101146 #1C1C78 #2728AA #3C3DD2 #6E6FDE

Accessibility & contrast

On white

10.66
#2728AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2728AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2728AA#FFFFFF#000000##FFFFFF
##2728AA1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2728aa;
/* rgb */ color: rgb(39, 40, 170);
/* oklch */ color: oklch(38.4% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#7864c5',
    500: '#2728aa',
    950: '#000000',
  },
}
SCSS
$custom: #2728aa;
$custom-light: #7864c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2728aa",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 239.542,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.19833,
    "h": 271.7
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2728AA

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

Preview Lab → · Contrast checker → · Palette generator →

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