#27487C#27487C

#27487C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.096 H 259.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#27487C
RGBrgb(39, 72, 124)
HSLhsl(217, 52%, 32%)
HSVhsv(217, 69%, 49%)
CMYKcmyk(68.5%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.69, 6.23, -33.12)
CIE-LCHlch(30.69, 33.70, 280.65°)
OKLaboklab(40.43% -0.0181 -0.0944)
OKLCHoklch(40.43% 0.096 259.2)
XYZxyz(6.7909, 6.5206, 19.9656)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487C #7C5B27
analogous
#27737C #27487C #31277C
triadic
#27487C #7C2748 #487C27
tetradic
#27487C #7C2773 #7C5B27 #277C31
square
#27487C #7C2773 #7C5B27 #277C31
split-complementary
#27487C #7C3127 #737C27
monochromatic
#0A121F #182D4D #27487C #3663AB #5482C9

Accessibility & contrast

On white

9.11
#27487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#27487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27487C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487C#FFFFFF#000000##FFFFFF
##27487C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27487c;
/* rgb */ color: rgb(39, 72, 124);
/* oklch */ color: oklch(40.4% 0.096 259.2);
Tailwind
colors: {
  custom: {
    50: '#6b7aa2',
    500: '#27487c',
    950: '#000000',
  },
}
SCSS
$custom: #27487c;
$custom-light: #6b7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#27487c",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 216.706,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40431,
    "c": 0.09608,
    "h": 259.2
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#27487C
secondary
#AE8A51
accent
#A44CDC
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27487C

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

Preview Lab → · Contrast checker → · Palette generator →

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