#2728AE#2728AE

#2728AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.203 H 271.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2728AE
RGBrgb(39, 40, 174)
HSLhsl(240, 63%, 42%)
HSVhsv(240, 78%, 68%)
CMYKcmyk(77.6%, 77%, 0%, 31.8%)
CIE-LABlab(26.75, 45.60, -70.15)
CIE-LCHlch(26.75, 83.67, 303.02°)
OKLaboklab(38.8% 0.0053 -0.2031)
OKLCHoklch(38.8% 0.203 271.5)
XYZxyz(9.2329, 5.0039, 40.5154)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2728AE #AEAD27
analogous
#276BAE #2728AE #6A27AE
triadic
#2728AE #AE2728 #28AE27
tetradic
#2728AE #AE276B #AEAD27 #27AE6A
square
#2728AE #AE276B #AEAD27 #27AE6A
split-complementary
#2728AE #AE6A27 #6BAE27
monochromatic
#11114A #1C1D7C #2728AE #3E3FD4 #7071DF

Accessibility & contrast

On white

10.49
#2728AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2728AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2728AE#FFFFFF#000000##FFFFFF
##2728AE1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2728ae;
/* rgb */ color: rgb(39, 40, 174);
/* oklch */ color: oklch(38.8% 0.203 271.5);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2728ae',
    950: '#000000',
  },
}
SCSS
$custom: #2728ae;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2728ae",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 239.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38801,
    "c": 0.20317,
    "h": 271.5
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#2728AE
secondary
#C6C56B
accent
#E541E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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