#27428E#27428E

#27428E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.130 H 266.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#27428E
RGBrgb(39, 66, 142)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 73%, 56%)
CMYKcmyk(72.5%, 53.5%, 0%, 44.3%)
CIE-LABlab(30.11, 17.28, -45.21)
CIE-LCHlch(30.11, 48.40, 290.92°)
OKLaboklab(40.37% -0.0091 -0.13)
OKLCHoklch(40.37% 0.13 266)
XYZxyz(7.6657, 6.2800, 26.3941)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27428E #8E7327
analogous
#27758E #27428E #3F278E
triadic
#27428E #8E2742 #428E27
tetradic
#27428E #8E2775 #8E7327 #278E3F
square
#27428E #8E2775 #8E7327 #278E3F
split-complementary
#27428E #8E3F27 #758E27
monochromatic
#0D152E #1A2C5E #27428E #3458BE #5D7CD2

Accessibility & contrast

On white

9.31
#27428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27428E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27428E#FFFFFF#000000##FFFFFF
##27428E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27428e;
/* rgb */ color: rgb(39, 66, 142);
/* oklch */ color: oklch(40.4% 0.130 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f75b0',
    500: '#27428e',
    950: '#000000',
  },
}
SCSS
$custom: #27428e;
$custom-light: #6f75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27428e",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 224.272,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40372,
    "c": 0.1303,
    "h": 266
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#27428E
secondary
#B89F59
accent
#B848E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27428E

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

Preview Lab → · Contrast checker → · Palette generator →

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