#27478B#27478B

#27478B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.119 H 263.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#27478B
RGBrgb(39, 71, 139)
HSLhsl(221, 56%, 35%)
HSVhsv(221, 72%, 55%)
CMYKcmyk(71.9%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.35, 12.71, -41.36)
CIE-LCHlch(31.35, 43.27, 287.08°)
OKLaboklab(41.25% -0.0141 -0.1186)
OKLCHoklch(41.25% 0.119 263.2)
XYZxyz(7.7485, 6.8011, 25.3255)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478B #8B6B27
analogous
#27798B #27478B #39278B
triadic
#27478B #8B2747 #478B27
tetradic
#27478B #8B2779 #8B6B27 #278B39
square
#27478B #8B2779 #8B6B27 #278B39
split-complementary
#27478B #8B3927 #798B27
monochromatic
#0C162B #1A2F5B #27478B #345FBB #5B81D1

Accessibility & contrast

On white

8.90
#27478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#27478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27478B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478B#FFFFFF#000000##FFFFFF
##27478B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#09458A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478b;
/* rgb */ color: rgb(39, 71, 139);
/* oklch */ color: oklch(41.3% 0.119 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e79ad',
    500: '#27478b',
    950: '#000000',
  },
}
SCSS
$custom: #27478b;
$custom-light: #6e79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27478b",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 220.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.11942,
    "h": 263.2
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#27478B
secondary
#B69858
accent
#AF48DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27478B

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

Preview Lab → · Contrast checker → · Palette generator →

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