#27427D#27427D

#27427D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.105 H 263.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#27427D
RGBrgb(39, 66, 125)
HSLhsl(221, 52%, 32%)
HSVhsv(221, 69%, 49%)
CMYKcmyk(68.8%, 47.2%, 0%, 51%)
CIE-LABlab(28.92, 10.68, -36.57)
CIE-LCHlch(28.92, 38.10, 286.29°)
OKLaboklab(39.09% -0.0115 -0.1046)
OKLCHoklch(39.09% 0.105 263.7)
XYZxyz(6.4853, 5.8078, 20.1773)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27427D #7D6227
analogous
#276D7D #27427D #37277D
triadic
#27427D #7D2742 #427D27
tetradic
#27427D #7D276D #7D6227 #277D37
square
#27427D #7D276D #7D6227 #277D37
split-complementary
#27427D #7D3727 #6D7D27
monochromatic
#0A1120 #18294E #27427D #365BAC #5579CA

Accessibility & contrast

On white

9.72
#27427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#27427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27427D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27427D#FFFFFF#000000##FFFFFF
##27427D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#15407C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27427d;
/* rgb */ color: rgb(39, 66, 125);
/* oklch */ color: oklch(39.1% 0.105 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b75a3',
    500: '#27427d',
    950: '#000000',
  },
}
SCSS
$custom: #27427d;
$custom-light: #6b75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27427d",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 221.163,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.10521,
    "h": 263.7
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27427D

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

Preview Lab → · Contrast checker → · Palette generator →

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