#27579F#27579F

#27579F is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.3% C 0.128 H 258.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#27579F
RGBrgb(39, 87, 159)
HSLhsl(216, 61%, 39%)
HSVhsv(216, 75%, 62%)
CMYKcmyk(75.5%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.39, 9.79, -43.80)
CIE-LCHlch(37.39, 44.88, 282.60°)
OKLaboklab(46.32% -0.0254 -0.1255)
OKLCHoklch(46.32% 0.128 258.5)
XYZxyz(10.5006, 9.7498, 34.1226)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27579F #9F6F27
analogous
#27939F #27579F #33279F
triadic
#27579F #9F2757 #579F27
tetradic
#27579F #9F2793 #9F6F27 #279F33
square
#27579F #9F2793 #9F6F27 #279F33
split-complementary
#27579F #9F3327 #939F27
monochromatic
#0F213D #1B3C6E #27579F #3672CE #6795DA

Accessibility & contrast

On white

7.12
#27579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#27579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27579F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27579F#FFFFFF#000000##FFFFFF
##27579F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#1A539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #27579f;
/* rgb */ color: rgb(39, 87, 159);
/* oklch */ color: oklch(46.3% 0.128 258.5);
Tailwind
colors: {
  custom: {
    50: '#7285bc',
    500: '#27579f',
    950: '#000000',
  },
}
SCSS
$custom: #27579f;
$custom-light: #7285bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27579f",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 216,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46317,
    "c": 0.12802,
    "h": 258.5
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#27579F
secondary
#C09A62
accent
#A444E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #27579F

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

Preview Lab → · Contrast checker → · Palette generator →

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