#27518C#27518C

#27518C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.108 H 257.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#27518C
RGBrgb(39, 81, 140)
HSLhsl(215, 56%, 35%)
HSVhsv(215, 72%, 55%)
CMYKcmyk(72.1%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.41, 6.39, -37.07)
CIE-LCHlch(34.41, 37.61, 279.78°)
OKLaboklab(43.63% -0.0237 -0.1058)
OKLCHoklch(43.63% 0.108 257.4)
XYZxyz(8.5110, 8.2087, 25.9418)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27518C #8C6227
analogous
#27838C #27518C #30278C
triadic
#27518C #8C2751 #518C27
tetradic
#27518C #8C2783 #8C6227 #278C30
square
#27518C #8C2783 #8C6227 #278C30
split-complementary
#27518C #8C3027 #838C27
monochromatic
#0C1A2C #1A355C #27518C #346DBC #5C8DD2

Accessibility & contrast

On white

7.95
#27518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#27518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27518C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27518C#FFFFFF#000000##FFFFFF
##27518C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #27518c;
/* rgb */ color: rgb(39, 81, 140);
/* oklch */ color: oklch(43.6% 0.108 257.4);
Tailwind
colors: {
  custom: {
    50: '#6e81ae',
    500: '#27518c',
    950: '#000000',
  },
}
SCSS
$custom: #27518c;
$custom-light: #6e81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27518c",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 215.05,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.10841,
    "h": 257.4
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#27518C
secondary
#B78F58
accent
#A148E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27518C

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

Preview Lab → · Contrast checker → · Palette generator →

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