#27428B#27428B

#27428B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.126 H 265.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#27428B
RGBrgb(39, 66, 139)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 72%, 55%)
CMYKcmyk(71.9%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.89, 16.12, -43.71)
CIE-LCHlch(29.89, 46.59, 290.24°)
OKLaboklab(40.14% -0.0094 -0.1256)
OKLCHoklch(40.14% 0.126 265.7)
XYZxyz(7.4435, 6.1911, 25.2238)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27428B #8B7027
analogous
#27748B #27428B #3E278B
triadic
#27428B #8B2742 #428B27
tetradic
#27428B #8B2774 #8B7027 #278B3E
square
#27428B #8B2774 #8B7027 #278B3E
split-complementary
#27428B #8B3E27 #748B27
monochromatic
#0C152B #1A2B5B #27428B #3459BB #5B7BD1

Accessibility & contrast

On white

9.38
#27428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27428B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27428B#FFFFFF#000000##FFFFFF
##27428B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27428b;
/* rgb */ color: rgb(39, 66, 139);
/* oklch */ color: oklch(40.1% 0.126 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e75ad',
    500: '#27428b',
    950: '#000000',
  },
}
SCSS
$custom: #27428b;
$custom-light: #6e75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27428b",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 223.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.12594,
    "h": 265.7
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#27428B
secondary
#B69D58
accent
#B748DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27428B

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

Preview Lab → · Contrast checker → · Palette generator →

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