#27478A#27478A

#27478A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.118 H 263.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#27478A
RGBrgb(39, 71, 138)
HSLhsl(221, 56%, 35%)
HSVhsv(221, 72%, 54%)
CMYKcmyk(71.7%, 48.6%, 0%, 45.9%)
CIE-LABlab(31.28, 12.32, -40.85)
CIE-LCHlch(31.28, 42.67, 286.78°)
OKLaboklab(41.18% -0.0143 -0.1171)
OKLCHoklch(41.18% 0.118 263)
XYZxyz(7.6758, 6.7720, 24.9424)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478A #8A6A27
analogous
#27798A #27478A #39278A
triadic
#27478A #8A2747 #478A27
tetradic
#27478A #8A2779 #8A6A27 #278A39
square
#27478A #8A2779 #8A6A27 #278A39
split-complementary
#27478A #8A3927 #798A27
monochromatic
#0C162B #1A2E5A #27478A #3460BA #5B81D1

Accessibility & contrast

On white

8.92
#27478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#27478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27478A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478A#FFFFFF#000000##FFFFFF
##27478A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#0C4589
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478a;
/* rgb */ color: rgb(39, 71, 138);
/* oklch */ color: oklch(41.2% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#6e79ad',
    500: '#27478a',
    950: '#000000',
  },
}
SCSS
$custom: #27478a;
$custom-light: #6e79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27478a",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 220.606,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.11796,
    "h": 263
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#27478A
secondary
#B69757
accent
#AF49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27478A

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

Preview Lab → · Contrast checker → · Palette generator →

#27478A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva