#27477C#27477C

#27477C is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.097 H 259.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#27477C
RGBrgb(39, 71, 124)
HSLhsl(217, 52%, 32%)
HSVhsv(217, 69%, 49%)
CMYKcmyk(68.5%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.38, 6.90, -33.62)
CIE-LCHlch(30.38, 34.32, 281.60°)
OKLaboklab(40.19% -0.017 -0.0958)
OKLCHoklch(40.19% 0.097 259.9)
XYZxyz(6.7267, 6.3924, 19.9442)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27477C #7C5C27
analogous
#27727C #27477C #32277C
triadic
#27477C #7C2747 #477C27
tetradic
#27477C #7C2772 #7C5C27 #277C32
square
#27477C #7C2772 #7C5C27 #277C32
split-complementary
#27477C #7C3227 #727C27
monochromatic
#0A121F #182C4D #27477C #3662AB #5480C9

Accessibility & contrast

On white

9.22
#27477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#27477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27477C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27477C#FFFFFF#000000##FFFFFF
##27477C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27477c;
/* rgb */ color: rgb(39, 71, 124);
/* oklch */ color: oklch(40.2% 0.097 259.9);
Tailwind
colors: {
  custom: {
    50: '#6b79a2',
    500: '#27477c',
    950: '#000000',
  },
}
SCSS
$custom: #27477c;
$custom-light: #6b79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27477c",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 217.412,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.09731,
    "h": 259.9
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#27477C
secondary
#AE8B51
accent
#A64CDC
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27477C

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

Preview Lab → · Contrast checker → · Palette generator →

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