#27579B#27579B

#27579B is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.0% C 0.122 H 257.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#27579B
RGBrgb(39, 87, 155)
HSLhsl(215, 60%, 38%)
HSVhsv(215, 75%, 61%)
CMYKcmyk(74.8%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.14, 8.24, -41.80)
CIE-LCHlch(37.14, 42.60, 281.15°)
OKLaboklab(46.04% -0.0262 -0.1196)
OKLCHoklch(46.04% 0.122 257.6)
XYZxyz(10.1591, 9.6132, 32.3241)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27579B #9B6B27
analogous
#27919B #27579B #31279B
triadic
#27579B #9B2757 #579B27
tetradic
#27579B #9B2791 #9B6B27 #279B31
square
#27579B #9B2791 #9B6B27 #279B31
split-complementary
#27579B #9B3127 #919B27
monochromatic
#0E2039 #1B3C6A #27579B #3372CC #6494D8

Accessibility & contrast

On white

7.18
#27579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#27579B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27579B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27579B#FFFFFF#000000##FFFFFF
##27579B1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#20529A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #27579b;
/* rgb */ color: rgb(39, 87, 155);
/* oklch */ color: oklch(46.0% 0.122 257.6);
Tailwind
colors: {
  custom: {
    50: '#7185b9',
    500: '#27579b',
    950: '#000000',
  },
}
SCSS
$custom: #27579b;
$custom-light: #7185b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27579b",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 215.172,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.12243,
    "h": 257.6
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27579B

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

Preview Lab → · Contrast checker → · Palette generator →

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