#27478D#27478D

#27478D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.122 H 263.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#27478D
RGBrgb(39, 71, 141)
HSLhsl(221, 57%, 35%)
HSVhsv(221, 72%, 55%)
CMYKcmyk(72.3%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.49, 13.49, -42.37)
CIE-LCHlch(31.49, 44.46, 287.66°)
OKLaboklab(41.4% -0.0138 -0.1215)
OKLCHoklch(41.4% 0.122 263.5)
XYZxyz(7.8960, 6.8601, 26.1021)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478D #8D6D27
analogous
#277A8D #27478D #3A278D
triadic
#27478D #8D2747 #478D27
tetradic
#27478D #8D277A #8D6D27 #278D3A
square
#27478D #8D277A #8D6D27 #278D3A
split-complementary
#27478D #8D3A27 #7A8D27
monochromatic
#0C172D #1A2F5D #27478D #345FBD #5C81D2

Accessibility & contrast

On white

8.85
#27478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27478D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478D#FFFFFF#000000##FFFFFF
##27478D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478d;
/* rgb */ color: rgb(39, 71, 141);
/* oklch */ color: oklch(41.4% 0.122 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f79af',
    500: '#27478d',
    950: '#000000',
  },
}
SCSS
$custom: #27478d;
$custom-light: #6f79af;
$custom-dark: #000000;
JSON
{
  "hex": "#27478d",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 221.176,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.12233,
    "h": 263.5
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27478D

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

Preview Lab → · Contrast checker → · Palette generator →

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