#27487E#27487E

#27487E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.099 H 259.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#27487E
RGBrgb(39, 72, 126)
HSLhsl(217, 53%, 32%)
HSVhsv(217, 69%, 49%)
CMYKcmyk(69%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.81, 6.99, -34.18)
CIE-LCHlch(30.81, 34.89, 281.57°)
OKLaboklab(40.56% -0.0176 -0.0974)
OKLCHoklch(40.56% 0.099 259.8)
XYZxyz(6.9186, 6.5717, 20.6385)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487E #7E5D27
analogous
#27747E #27487E #31277E
triadic
#27487E #7E2748 #487E27
tetradic
#27487E #7E2774 #7E5D27 #277E31
square
#27487E #7E2774 #7E5D27 #277E31
split-complementary
#27487E #7E3127 #747E27
monochromatic
#0A1321 #192D4F #27487E #3563AD #5582CA

Accessibility & contrast

On white

9.07
#27487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#27487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27487E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487E#FFFFFF#000000##FFFFFF
##27487E1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27487e;
/* rgb */ color: rgb(39, 72, 126);
/* oklch */ color: oklch(40.6% 0.099 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b7aa4',
    500: '#27487e',
    950: '#000000',
  },
}
SCSS
$custom: #27487e;
$custom-light: #6b7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#27487e",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 217.241,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40564,
    "c": 0.09903,
    "h": 259.8
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#27487E
secondary
#AF8C52
accent
#A54CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27487E

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

Preview Lab → · Contrast checker → · Palette generator →

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