#27417B#27417B

#27417B is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.104 H 264.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#27417B
RGBrgb(39, 65, 123)
HSLhsl(221, 52%, 32%)
HSVhsv(221, 68%, 48%)
CMYKcmyk(68.3%, 47.2%, 0%, 51.8%)
CIE-LABlab(28.49, 10.60, -36.01)
CIE-LCHlch(28.49, 37.54, 286.40°)
OKLaboklab(38.71% -0.0108 -0.1029)
OKLCHoklch(38.71% 0.104 264)
XYZxyz(6.3009, 5.6414, 19.4919)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27417B #7B6127
analogous
#276B7B #27417B #37277B
triadic
#27417B #7B2741 #417B27
tetradic
#27417B #7B276B #7B6127 #277B37
square
#27417B #7B276B #7B6127 #277B37
split-complementary
#27417B #7B3727 #6B7B27
monochromatic
#0A101E #18284D #27417B #365AA9 #5478C9

Accessibility & contrast

On white

9.87
#27417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27417B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27417B#FFFFFF#000000##FFFFFF
##27417B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#16407A
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27417b;
/* rgb */ color: rgb(39, 65, 123);
/* oklch */ color: oklch(38.7% 0.104 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b75a1',
    500: '#27417b',
    950: '#000000',
  },
}
SCSS
$custom: #27417b;
$custom-light: #6b75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27417b",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 221.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.10351,
    "h": 264
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#27417B
secondary
#AD9051
accent
#AF4CDB
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27417B

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

Preview Lab → · Contrast checker → · Palette generator →

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