#27518E#27518E

#27518E is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.111 H 257.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#27518E
RGBrgb(39, 81, 142)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 73%, 56%)
CMYKcmyk(72.5%, 43%, 0%, 44.3%)
CIE-LABlab(34.54, 7.16, -38.09)
CIE-LCHlch(34.54, 38.76, 280.65°)
OKLaboklab(43.77% -0.0233 -0.1088)
OKLCHoklch(43.77% 0.111 257.9)
XYZxyz(8.6598, 8.2683, 26.7255)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27518E #8E6427
analogous
#27848E #27518E #30278E
triadic
#27518E #8E2751 #518E27
tetradic
#27518E #8E2784 #8E6427 #278E30
square
#27518E #8E2784 #8E6427 #278E30
split-complementary
#27518E #8E3027 #848E27
monochromatic
#0D1A2E #1A365E #27518E #346CBE #5D8DD2

Accessibility & contrast

On white

7.91
#27518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#27518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27518E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27518E#FFFFFF#000000##FFFFFF
##27518E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #27518e;
/* rgb */ color: rgb(39, 81, 142);
/* oklch */ color: oklch(43.8% 0.111 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f81af',
    500: '#27518e',
    950: '#000000',
  },
}
SCSS
$custom: #27518e;
$custom-light: #6f81af;
$custom-dark: #000000;
JSON
{
  "hex": "#27518e",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 215.534,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.11126,
    "h": 257.9
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#27518E
secondary
#B89159
accent
#A248E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27518E

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

Preview Lab → · Contrast checker → · Palette generator →

#27518E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva