#27478E#27478E

#27478E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.124 H 263.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#27478E
RGBrgb(39, 71, 142)
HSLhsl(221, 57%, 35%)
HSVhsv(221, 73%, 56%)
CMYKcmyk(72.5%, 50%, 0%, 44.3%)
CIE-LABlab(31.56, 13.88, -42.87)
CIE-LCHlch(31.56, 45.06, 287.93°)
OKLaboklab(41.47% -0.0137 -0.123)
OKLCHoklch(41.47% 0.124 263.7)
XYZxyz(7.9707, 6.8900, 26.4958)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478E #8E6E27
analogous
#277A8E #27478E #3A278E
triadic
#27478E #8E2747 #478E27
tetradic
#27478E #8E277A #8E6E27 #278E3A
square
#27478E #8E277A #8E6E27 #278E3A
split-complementary
#27478E #8E3A27 #7A8E27
monochromatic
#0D172E #1A2F5E #27478E #345FBE #5D81D2

Accessibility & contrast

On white

8.83
#27478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#27478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27478E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478E#FFFFFF#000000##FFFFFF
##27478E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478e;
/* rgb */ color: rgb(39, 71, 142);
/* oklch */ color: oklch(41.5% 0.124 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f79af',
    500: '#27478e',
    950: '#000000',
  },
}
SCSS
$custom: #27478e;
$custom-light: #6f79af;
$custom-dark: #000000;
JSON
{
  "hex": "#27478e",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 221.359,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.12379,
    "h": 263.7
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#27478E
secondary
#B89A59
accent
#B148E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27478E

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

Preview Lab → · Contrast checker → · Palette generator →

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