#27559D#27559D

#27559D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.128 H 259.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#27559D
RGBrgb(39, 85, 157)
HSLhsl(217, 60%, 38%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(75.2%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.67, 10.33, -43.75)
CIE-LCHlch(36.67, 44.95, 283.29°)
OKLaboklab(45.72% -0.024 -0.1254)
OKLCHoklch(45.72% 0.128 259.2)
XYZxyz(10.1688, 9.3615, 33.1628)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27559D #9D6F27
analogous
#27909D #27559D #34279D
triadic
#27559D #9D2755 #559D27
tetradic
#27559D #9D2790 #9D6F27 #279D34
square
#27559D #9D2790 #9D6F27 #279D34
split-complementary
#27559D #9D3427 #909D27
monochromatic
#0F203B #1B3A6C #27559D #3570CD #6692D9

Accessibility & contrast

On white

7.31
#27559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#27559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27559D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27559D#FFFFFF#000000##FFFFFF
##27559D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#17519C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #27559d;
/* rgb */ color: rgb(39, 85, 157);
/* oklch */ color: oklch(45.7% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#7284ba',
    500: '#27559d',
    950: '#000000',
  },
}
SCSS
$custom: #27559d;
$custom-light: #7284ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27559d",
  "rgb": {
    "r": 39,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 216.61,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.12764,
    "h": 259.2
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#27559D
secondary
#BF9A61
accent
#A544E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #27559D

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

Preview Lab → · Contrast checker → · Palette generator →

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