#27428C#27428C

#27428C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.127 H 265.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#27428C
RGBrgb(39, 66, 140)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 72%, 55%)
CMYKcmyk(72.1%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.96, 16.51, -44.21)
CIE-LCHlch(29.96, 47.19, 290.48°)
OKLaboklab(40.21% -0.0093 -0.1271)
OKLCHoklch(40.21% 0.127 265.8)
XYZxyz(7.5169, 6.2204, 25.6104)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27428C #8C7127
analogous
#27758C #27428C #3E278C
triadic
#27428C #8C2742 #428C27
tetradic
#27428C #8C2775 #8C7127 #278C3E
square
#27428C #8C2775 #8C7127 #278C3E
split-complementary
#27428C #8C3E27 #758C27
monochromatic
#0C152C #1A2B5C #27428C #3459BC #5C7BD2

Accessibility & contrast

On white

9.36
#27428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#27428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27428C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27428C#FFFFFF#000000##FFFFFF
##27428C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27428c;
/* rgb */ color: rgb(39, 66, 140);
/* oklch */ color: oklch(40.2% 0.127 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f75ae',
    500: '#27428c',
    950: '#000000',
  },
}
SCSS
$custom: #27428c;
$custom-light: #6f75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27428c",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 223.96,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.1274,
    "h": 265.8
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#27428C
secondary
#B79D58
accent
#B748E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27428C

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

Preview Lab → · Contrast checker → · Palette generator →

#27428C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva