#2728A3#2728A3

#2728A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.190 H 272.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2728A3
RGBrgb(39, 40, 163)
HSLhsl(240, 61%, 40%)
HSVhsv(240, 76%, 64%)
CMYKcmyk(76.1%, 75.5%, 0%, 36.1%)
CIE-LABlab(25.54, 41.92, -65.51)
CIE-LCHlch(25.54, 77.77, 302.61°)
OKLaboklab(37.59% 0.0073 -0.1896)
OKLCHoklch(37.59% 0.19 272.2)
XYZxyz(8.2041, 4.5924, 35.0973)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728A3 #A3A227
analogous
#2766A3 #2728A3 #6427A3
triadic
#2728A3 #A32728 #28A327
tetradic
#2728A3 #A32766 #A3A227 #27A364
square
#2728A3 #A32766 #A3A227 #27A364
split-complementary
#2728A3 #A36427 #66A327
monochromatic
#0F1040 #1B1C72 #2728A3 #3839CF #696ADB

Accessibility & contrast

On white

10.95
#2728A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2728A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2728A3#FFFFFF#000000##FFFFFF
##2728A31.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2728a3;
/* rgb */ color: rgb(39, 40, 163);
/* oklch */ color: oklch(37.6% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#7664c0',
    500: '#2728a3',
    950: '#000000',
  },
}
SCSS
$custom: #2728a3;
$custom-light: #7664c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2728a3",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 239.516,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.18975,
    "h": 272.2
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#2728A3
secondary
#C1C164
accent
#E343E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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