#27417F#27417F

#27417F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.110 H 264.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#27417F
RGBrgb(39, 65, 127)
HSLhsl(222, 53%, 33%)
HSVhsv(222, 69%, 50%)
CMYKcmyk(69.3%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.76, 12.14, -38.09)
CIE-LCHlch(28.76, 39.98, 287.68°)
OKLaboklab(39% -0.0101 -0.1091)
OKLCHoklch(39% 0.11 264.7)
XYZxyz(6.5564, 5.7436, 20.8377)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27417F #7F6527
analogous
#276D7F #27417F #39277F
triadic
#27417F #7F2741 #417F27
tetradic
#27417F #7F276D #7F6527 #277F39
square
#27417F #7F276D #7F6527 #277F39
split-complementary
#27417F #7F3927 #6D7F27
monochromatic
#0A1121 #192950 #27417F #3559AE #5578CB

Accessibility & contrast

On white

9.77
#27417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#27417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27417F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27417F#FFFFFF#000000##FFFFFF
##27417F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#0E407E
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27417f;
/* rgb */ color: rgb(39, 65, 127);
/* oklch */ color: oklch(39.0% 0.110 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c75a4',
    500: '#27417f',
    950: '#000000',
  },
}
SCSS
$custom: #27417f;
$custom-light: #6c75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27417f",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 222.273,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.10953,
    "h": 264.7
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#27417F
secondary
#B09452
accent
#B24BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27417F

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

Preview Lab → · Contrast checker → · Palette generator →

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