#27479E#27479E

#27479E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.147 H 265.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#27479E
RGBrgb(39, 71, 158)
HSLhsl(224, 60%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(75.3%, 55.1%, 0%, 38%)
CIE-LABlab(32.71, 20.10, -50.74)
CIE-LCHlch(32.71, 54.57, 291.61°)
OKLaboklab(42.72% -0.0119 -0.1462)
OKLCHoklch(42.72% 0.147 265.3)
XYZxyz(9.2593, 7.4054, 33.2825)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27479E #9E7E27
analogous
#27829E #27479E #43279E
triadic
#27479E #9E2747 #479E27
tetradic
#27479E #9E2782 #9E7E27 #279E43
square
#27479E #9E2782 #9E7E27 #279E43
split-complementary
#27479E #9E4327 #829E27
monochromatic
#0F1B3C #1B316D #27479E #355ECD #6685D9

Accessibility & contrast

On white

8.46
#27479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#27479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27479E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27479E#FFFFFF#000000##FFFFFF
##27479E1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #27479e;
/* rgb */ color: rgb(39, 71, 158);
/* oklch */ color: oklch(42.7% 0.147 265.3);
Tailwind
colors: {
  custom: {
    50: '#7379bb',
    500: '#27479e',
    950: '#000000',
  },
}
SCSS
$custom: #27479e;
$custom-light: #7379bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27479e",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 223.866,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.14666,
    "h": 265.3
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#27479E
secondary
#BFA662
accent
#B944E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #27479E

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

Preview Lab → · Contrast checker → · Palette generator →

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