#27559F#27559F

#27559F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.130 H 259.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#27559F
RGBrgb(39, 85, 159)
HSLhsl(217, 61%, 39%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(75.5%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.80, 11.11, -44.74)
CIE-LCHlch(36.80, 46.10, 283.94°)
OKLaboklab(45.86% -0.0237 -0.1283)
OKLCHoklch(45.86% 0.13 259.5)
XYZxyz(10.3409, 9.4304, 34.0694)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27559F #9F7127
analogous
#27919F #27559F #35279F
triadic
#27559F #9F2755 #559F27
tetradic
#27559F #9F2791 #9F7127 #279F35
square
#27559F #9F2791 #9F7127 #279F35
split-complementary
#27559F #9F3527 #919F27
monochromatic
#0F203D #1B3B6E #27559F #3670CE #6793DA

Accessibility & contrast

On white

7.28
#27559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#27559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27559F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27559F#FFFFFF#000000##FFFFFF
##27559F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#13519E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #27559f;
/* rgb */ color: rgb(39, 85, 159);
/* oklch */ color: oklch(45.9% 0.130 259.5);
Tailwind
colors: {
  custom: {
    50: '#7284bc',
    500: '#27559f',
    950: '#000000',
  },
}
SCSS
$custom: #27559f;
$custom-light: #7284bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27559f",
  "rgb": {
    "r": 39,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 217,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.13044,
    "h": 259.5
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#27559F
secondary
#C09C62
accent
#A744E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #27559F

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

Preview Lab → · Contrast checker → · Palette generator →

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