#27579C#27579C

#27579C is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.124 H 257.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#27579C
RGBrgb(39, 87, 156)
HSLhsl(215, 60%, 38%)
HSVhsv(215, 75%, 61%)
CMYKcmyk(75%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.20, 8.63, -42.30)
CIE-LCHlch(37.20, 43.17, 281.53°)
OKLaboklab(46.11% -0.026 -0.1211)
OKLCHoklch(46.11% 0.124 257.9)
XYZxyz(10.2435, 9.6469, 32.7682)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27579C #9C6C27
analogous
#27919C #27579C #32279C
triadic
#27579C #9C2757 #579C27
tetradic
#27579C #9C2791 #9C6C27 #279C32
square
#27579C #9C2791 #9C6C27 #279C32
split-complementary
#27579C #9C3227 #919C27
monochromatic
#0F203A #1B3C6B #27579C #3472CC #6594D8

Accessibility & contrast

On white

7.17
#27579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#27579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27579C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27579C#FFFFFF#000000##FFFFFF
##27579C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #27579c;
/* rgb */ color: rgb(39, 87, 156);
/* oklch */ color: oklch(46.1% 0.124 257.9);
Tailwind
colors: {
  custom: {
    50: '#7185ba',
    500: '#27579c',
    950: '#000000',
  },
}
SCSS
$custom: #27579c;
$custom-light: #7185ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27579c",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 215.385,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.12383,
    "h": 257.9
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#27579C
secondary
#BE9861
accent
#A245E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #27579C

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

Preview Lab → · Contrast checker → · Palette generator →

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