#27487A#27487A

#27487A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.093 H 258.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#27487A
RGBrgb(39, 72, 122)
HSLhsl(216, 52%, 32%)
HSVhsv(216, 68%, 48%)
CMYKcmyk(68%, 41%, 0%, 52.2%)
CIE-LABlab(30.57, 5.46, -32.07)
CIE-LCHlch(30.57, 32.53, 279.66°)
OKLaboklab(40.3% -0.0186 -0.0913)
OKLCHoklch(40.3% 0.093 258.5)
XYZxyz(6.6657, 6.4706, 19.3062)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487A #7A5927
analogous
#27727A #27487A #30277A
triadic
#27487A #7A2748 #487A27
tetradic
#27487A #7A2772 #7A5927 #277A30
square
#27487A #7A2772 #7A5927 #277A30
split-complementary
#27487A #7A3027 #727A27
monochromatic
#09111D #182D4C #27487A #3663A8 #5382C8

Accessibility & contrast

On white

9.15
#27487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#27487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27487A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487A#FFFFFF#000000##FFFFFF
##27487A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27487a;
/* rgb */ color: rgb(39, 72, 122);
/* oklch */ color: oklch(40.3% 0.093 258.5);
Tailwind
colors: {
  custom: {
    50: '#6b7aa1',
    500: '#27487a',
    950: '#000000',
  },
}
SCSS
$custom: #27487a;
$custom-light: #6b7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#27487a",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 216.145,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.09313,
    "h": 258.5
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#27487A
secondary
#AC8851
accent
#A24DDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #27487A

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

Preview Lab → · Contrast checker → · Palette generator →

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