#27428D#27428D

#27428D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.129 H 265.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#27428D
RGBrgb(39, 66, 141)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 72%, 55%)
CMYKcmyk(72.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.03, 16.90, -44.71)
CIE-LCHlch(30.03, 47.80, 290.70°)
OKLaboklab(40.29% -0.0092 -0.1285)
OKLCHoklch(40.29% 0.129 265.9)
XYZxyz(7.5910, 6.2501, 26.0005)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27428D #8D7227
analogous
#27758D #27428D #3F278D
triadic
#27428D #8D2742 #428D27
tetradic
#27428D #8D2775 #8D7227 #278D3F
square
#27428D #8D2775 #8D7227 #278D3F
split-complementary
#27428D #8D3F27 #758D27
monochromatic
#0C152D #1A2C5D #27428D #3458BD #5C7CD2

Accessibility & contrast

On white

9.33
#27428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#27428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27428D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27428D#FFFFFF#000000##FFFFFF
##27428D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27428d;
/* rgb */ color: rgb(39, 66, 141);
/* oklch */ color: oklch(40.3% 0.129 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f75af',
    500: '#27428d',
    950: '#000000',
  },
}
SCSS
$custom: #27428d;
$custom-light: #6f75af;
$custom-dark: #000000;
JSON
{
  "hex": "#27428d",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 224.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.12885,
    "h": 265.9
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#27428D
secondary
#B79E59
accent
#B848E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27428D

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

Preview Lab → · Contrast checker → · Palette generator →

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