#2728AC#2728AC

#2728AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.201 H 271.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2728AC
RGBrgb(39, 40, 172)
HSLhsl(240, 63%, 41%)
HSVhsv(240, 77%, 67%)
CMYKcmyk(77.3%, 76.7%, 0%, 32.5%)
CIE-LABlab(26.52, 44.93, -69.32)
CIE-LCHlch(26.52, 82.61, 302.95°)
OKLaboklab(38.58% 0.0057 -0.2007)
OKLCHoklch(38.58% 0.201 271.6)
XYZxyz(9.0394, 4.9265, 39.4962)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728AC #ACAB27
analogous
#276BAC #2728AC #6927AC
triadic
#2728AC #AC2728 #28AC27
tetradic
#2728AC #AC276B #ACAB27 #27AC69
square
#2728AC #AC276B #ACAB27 #27AC69
split-complementary
#2728AC #AC6927 #6BAC27
monochromatic
#101148 #1C1C7A #2728AC #3D3ED3 #6F70DE

Accessibility & contrast

On white

10.58
#2728AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2728AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2728AC#FFFFFF#000000##FFFFFF
##2728AC1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2728ac;
/* rgb */ color: rgb(39, 40, 172);
/* oklch */ color: oklch(38.6% 0.201 271.6);
Tailwind
colors: {
  custom: {
    50: '#7964c6',
    500: '#2728ac',
    950: '#000000',
  },
}
SCSS
$custom: #2728ac;
$custom-light: #7964c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2728ac",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 239.549,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.20076,
    "h": 271.6
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#2728AC
secondary
#C5C46A
accent
#E542E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2728AC

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

Preview Lab → · Contrast checker → · Palette generator →

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