#27479F#27479F

#27479F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.148 H 265.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#27479F
RGBrgb(39, 71, 159)
HSLhsl(224, 61%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(75.5%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.79, 20.48, -51.22)
CIE-LCHlch(32.79, 55.16, 291.80°)
OKLaboklab(42.8% -0.0118 -0.1476)
OKLCHoklch(42.8% 0.148 265.4)
XYZxyz(9.3457, 7.4400, 33.7377)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27479F #9F7F27
analogous
#27839F #27479F #43279F
triadic
#27479F #9F2747 #479F27
tetradic
#27479F #9F2783 #9F7F27 #279F43
square
#27479F #9F2783 #9F7F27 #279F43
split-complementary
#27479F #9F4327 #839F27
monochromatic
#0F1B3D #1B316E #27479F #365ECE #6785DA

Accessibility & contrast

On white

8.44
#27479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#27479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27479F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27479F#FFFFFF#000000##FFFFFF
##27479F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #27479f;
/* rgb */ color: rgb(39, 71, 159);
/* oklch */ color: oklch(42.8% 0.148 265.4);
Tailwind
colors: {
  custom: {
    50: '#7379bc',
    500: '#27479f',
    950: '#000000',
  },
}
SCSS
$custom: #27479f;
$custom-light: #7379bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27479f",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 224,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.14806,
    "h": 265.4
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27479F

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

Preview Lab → · Contrast checker → · Palette generator →

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