#27417C#27417C

#27417C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.105 H 264.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#27417C
RGBrgb(39, 65, 124)
HSLhsl(222, 52%, 32%)
HSVhsv(222, 69%, 49%)
CMYKcmyk(68.5%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.56, 10.98, -36.53)
CIE-LCHlch(28.56, 38.15, 286.73°)
OKLaboklab(38.78% -0.0106 -0.1045)
OKLCHoklch(38.78% 0.105 264.2)
XYZxyz(6.3638, 5.6666, 19.8233)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27417C #7C6227
analogous
#276C7C #27417C #38277C
triadic
#27417C #7C2741 #417C27
tetradic
#27417C #7C276C #7C6227 #277C38
square
#27417C #7C276C #7C6227 #277C38
split-complementary
#27417C #7C3827 #6C7C27
monochromatic
#0A101F #18294D #27417C #3659AB #5478C9

Accessibility & contrast

On white

9.84
#27417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#27417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27417C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27417C#FFFFFF#000000##FFFFFF
##27417C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477E
Deuteranopia (green-blind)
#14407B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27417c;
/* rgb */ color: rgb(39, 65, 124);
/* oklch */ color: oklch(38.8% 0.105 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b75a2',
    500: '#27417c',
    950: '#000000',
  },
}
SCSS
$custom: #27417c;
$custom-light: #6b75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27417c",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 221.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.10503,
    "h": 264.2
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#27417C
secondary
#AE9151
accent
#B04CDC
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27417C

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

Preview Lab → · Contrast checker → · Palette generator →

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