#27559B#27559B

#27559B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.125 H 258.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#27559B
RGBrgb(39, 85, 155)
HSLhsl(216, 60%, 38%)
HSVhsv(216, 75%, 61%)
CMYKcmyk(74.8%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.54, 9.56, -42.75)
CIE-LCHlch(36.54, 43.81, 282.60°)
OKLaboklab(45.58% -0.0244 -0.1224)
OKLCHoklch(45.58% 0.125 258.7)
XYZxyz(9.9994, 9.2938, 32.2709)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27559B #9B6D27
analogous
#278F9B #27559B #33279B
triadic
#27559B #9B2755 #559B27
tetradic
#27559B #9B278F #9B6D27 #279B33
square
#27559B #9B278F #9B6D27 #279B33
split-complementary
#27559B #9B3327 #8F9B27
monochromatic
#0E1F39 #1B3A6A #27559B #3370CC #6492D8

Accessibility & contrast

On white

7.35
#27559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#27559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27559B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27559B#FFFFFF#000000##FFFFFF
##27559B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #27559b;
/* rgb */ color: rgb(39, 85, 155);
/* oklch */ color: oklch(45.6% 0.125 258.7);
Tailwind
colors: {
  custom: {
    50: '#7184b9',
    500: '#27559b',
    950: '#000000',
  },
}
SCSS
$custom: #27559b;
$custom-light: #7184b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27559b",
  "rgb": {
    "r": 39,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 216.207,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.12483,
    "h": 258.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#27559B
secondary
#BE9960
accent
#A445E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #27559B

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

Preview Lab → · Contrast checker → · Palette generator →

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