#27479C#27479C

#27479C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.144 H 265.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#27479C
RGBrgb(39, 71, 156)
HSLhsl(224, 60%, 38%)
HSVhsv(224, 75%, 61%)
CMYKcmyk(75%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.56, 19.32, -49.77)
CIE-LCHlch(32.56, 53.39, 291.22°)
OKLaboklab(42.56% -0.0121 -0.1433)
OKLCHoklch(42.56% 0.144 265.2)
XYZxyz(9.0886, 7.3371, 32.3833)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27479C #9C7C27
analogous
#27819C #27479C #41279C
triadic
#27479C #9C2747 #479C27
tetradic
#27479C #9C2781 #9C7C27 #279C41
square
#27479C #9C2781 #9C7C27 #279C41
split-complementary
#27479C #9C4127 #819C27
monochromatic
#0F1A3A #1B316B #27479C #345ECC #6585D8

Accessibility & contrast

On white

8.51
#27479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#27479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27479C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27479C#FFFFFF#000000##FFFFFF
##27479C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #27479c;
/* rgb */ color: rgb(39, 71, 156);
/* oklch */ color: oklch(42.6% 0.144 265.2);
Tailwind
colors: {
  custom: {
    50: '#7279ba',
    500: '#27479c',
    950: '#000000',
  },
}
SCSS
$custom: #27479c;
$custom-light: #7279ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27479c",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 223.59,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.14384,
    "h": 265.2
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#27479C
secondary
#BEA561
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #27479C

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

Preview Lab → · Contrast checker → · Palette generator →

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