#27417A#27417A

#27417A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.102 H 263.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#27417A
RGBrgb(39, 65, 122)
HSLhsl(221, 52%, 32%)
HSVhsv(221, 68%, 48%)
CMYKcmyk(68%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.42, 10.21, -35.49)
CIE-LCHlch(28.42, 36.93, 286.05°)
OKLaboklab(38.64% -0.011 -0.1014)
OKLCHoklch(38.64% 0.102 263.8)
XYZxyz(6.2386, 5.6165, 19.1639)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27417A #7A6027
analogous
#276B7A #27417A #37277A
triadic
#27417A #7A2741 #417A27
tetradic
#27417A #7A276B #7A6027 #277A37
square
#27417A #7A276B #7A6027 #277A37
split-complementary
#27417A #7A3727 #6B7A27
monochromatic
#09101D #18284C #27417A #365AA8 #5378C8

Accessibility & contrast

On white

9.89
#27417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#27417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27417A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27417A#FFFFFF#000000##FFFFFF
##27417A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#173F79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27417a;
/* rgb */ color: rgb(39, 65, 122);
/* oklch */ color: oklch(38.6% 0.102 263.8);
Tailwind
colors: {
  custom: {
    50: '#6b75a1',
    500: '#27417a',
    950: '#000000',
  },
}
SCSS
$custom: #27417a;
$custom-light: #6b75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27417a",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 221.205,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.10201,
    "h": 263.8
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#27417A
secondary
#AC8F51
accent
#AE4DDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #27417A

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

Preview Lab → · Contrast checker → · Palette generator →

#27417A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva