#27478C#27478C

#27478C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.121 H 263.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#27478C
RGBrgb(39, 71, 140)
HSLhsl(221, 56%, 35%)
HSVhsv(221, 72%, 55%)
CMYKcmyk(72.1%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.42, 13.10, -41.87)
CIE-LCHlch(31.42, 43.87, 287.37°)
OKLaboklab(41.32% -0.014 -0.1201)
OKLCHoklch(41.32% 0.121 263.4)
XYZxyz(7.8219, 6.8305, 25.7120)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478C #8C6C27
analogous
#277A8C #27478C #39278C
triadic
#27478C #8C2747 #478C27
tetradic
#27478C #8C277A #8C6C27 #278C39
square
#27478C #8C277A #8C6C27 #278C39
split-complementary
#27478C #8C3927 #7A8C27
monochromatic
#0C162C #1A2F5C #27478C #345FBC #5C81D2

Accessibility & contrast

On white

8.87
#27478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#27478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27478C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478C#FFFFFF#000000##FFFFFF
##27478C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#06468B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478c;
/* rgb */ color: rgb(39, 71, 140);
/* oklch */ color: oklch(41.3% 0.121 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e79ae',
    500: '#27478c',
    950: '#000000',
  },
}
SCSS
$custom: #27478c;
$custom-light: #6e79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27478c",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 220.99,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.12087,
    "h": 263.4
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#27478C
secondary
#B79958
accent
#B048E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27478C

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

Preview Lab → · Contrast checker → · Palette generator →

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