#27427E#27427E

#27427E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.107 H 263.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#27427E
RGBrgb(39, 66, 126)
HSLhsl(221, 53%, 32%)
HSVhsv(221, 69%, 49%)
CMYKcmyk(69%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.99, 11.07, -37.09)
CIE-LCHlch(28.99, 38.71, 286.62°)
OKLaboklab(39.16% -0.0113 -0.1061)
OKLCHoklch(39.16% 0.107 263.9)
XYZxyz(6.5495, 5.8335, 20.5154)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27427E #7E6327
analogous
#276E7E #27427E #37277E
triadic
#27427E #7E2742 #427E27
tetradic
#27427E #7E276E #7E6327 #277E37
square
#27427E #7E276E #7E6327 #277E37
split-complementary
#27427E #7E3727 #6E7E27
monochromatic
#0A1121 #192A4F #27427E #355AAD #5579CA

Accessibility & contrast

On white

9.69
#27427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#27427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27427E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27427E#FFFFFF#000000##FFFFFF
##27427E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27427e;
/* rgb */ color: rgb(39, 66, 126);
/* oklch */ color: oklch(39.2% 0.107 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c75a4',
    500: '#27427e',
    950: '#000000',
  },
}
SCSS
$custom: #27427e;
$custom-light: #6c75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27427e",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 221.379,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.10671,
    "h": 263.9
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#27427E
secondary
#AF9252
accent
#AF4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27427E

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

Preview Lab → · Contrast checker → · Palette generator →

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