#27428F#27428F

#27428F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.132 H 266.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#27428F
RGBrgb(39, 66, 143)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 73%, 56%)
CMYKcmyk(72.7%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.18, 17.67, -45.70)
CIE-LCHlch(30.18, 49.00, 291.14°)
OKLaboklab(40.45% -0.009 -0.1314)
OKLCHoklch(40.45% 0.132 266.1)
XYZxyz(7.7411, 6.3101, 26.7913)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27428F #8F7427
analogous
#27768F #27428F #40278F
triadic
#27428F #8F2742 #428F27
tetradic
#27428F #8F2776 #8F7427 #278F40
square
#27428F #8F2776 #8F7427 #278F40
split-complementary
#27428F #8F4027 #768F27
monochromatic
#0D162F #1A2C5F #27428F #3458BF #5D7CD3

Accessibility & contrast

On white

9.28
#27428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#27428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27428F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27428F#FFFFFF#000000##FFFFFF
##27428F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27428f;
/* rgb */ color: rgb(39, 66, 143);
/* oklch */ color: oklch(40.5% 0.132 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f75b0',
    500: '#27428f',
    950: '#000000',
  },
}
SCSS
$custom: #27428f;
$custom-light: #6f75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27428f",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 224.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.13175,
    "h": 266.1
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#27428F
secondary
#B8A05A
accent
#B947E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #27428F

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

Preview Lab → · Contrast checker → · Palette generator →

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