#27487D#27487D

#27487D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.098 H 259.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#27487D
RGBrgb(39, 72, 125)
HSLhsl(217, 52%, 32%)
HSVhsv(217, 69%, 49%)
CMYKcmyk(68.8%, 42.4%, 0%, 51%)
CIE-LABlab(30.75, 6.61, -33.65)
CIE-LCHlch(30.75, 34.29, 281.11°)
OKLaboklab(40.5% -0.0178 -0.0959)
OKLCHoklch(40.5% 0.098 259.5)
XYZxyz(6.8544, 6.5461, 20.3003)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487D #7D5C27
analogous
#27737D #27487D #31277D
triadic
#27487D #7D2748 #487D27
tetradic
#27487D #7D2773 #7D5C27 #277D31
square
#27487D #7D2773 #7D5C27 #277D31
split-complementary
#27487D #7D3127 #737D27
monochromatic
#0A1220 #182D4E #27487D #3663AC #5582CA

Accessibility & contrast

On white

9.09
#27487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27487D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487D#FFFFFF#000000##FFFFFF
##27487D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27487d;
/* rgb */ color: rgb(39, 72, 125);
/* oklch */ color: oklch(40.5% 0.098 259.5);
Tailwind
colors: {
  custom: {
    50: '#6b7aa3',
    500: '#27487d',
    950: '#000000',
  },
}
SCSS
$custom: #27487d;
$custom-light: #6b7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#27487d",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 216.977,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.09756,
    "h": 259.5
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27487D

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

Preview Lab → · Contrast checker → · Palette generator →

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