#27417D#27417D

#27417D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.107 H 264.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#27417D
RGBrgb(39, 65, 125)
HSLhsl(222, 52%, 32%)
HSVhsv(222, 69%, 49%)
CMYKcmyk(68.8%, 48%, 0%, 51%)
CIE-LABlab(28.62, 11.37, -37.05)
CIE-LCHlch(28.62, 38.76, 287.06°)
OKLaboklab(38.86% -0.0104 -0.106)
OKLCHoklch(38.86% 0.107 264.4)
XYZxyz(6.4274, 5.6920, 20.1580)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27417D #7D6327
analogous
#276C7D #27417D #38277D
triadic
#27417D #7D2741 #417D27
tetradic
#27417D #7D276C #7D6327 #277D38
square
#27417D #7D276C #7D6327 #277D38
split-complementary
#27417D #7D3827 #6C7D27
monochromatic
#0A1020 #18294E #27417D #3659AC #5578CA

Accessibility & contrast

On white

9.82
#27417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#27417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27417D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27417D#FFFFFF#000000##FFFFFF
##27417D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27417d;
/* rgb */ color: rgb(39, 65, 125);
/* oklch */ color: oklch(38.9% 0.107 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b75a3',
    500: '#27417d',
    950: '#000000',
  },
}
SCSS
$custom: #27417d;
$custom-light: #6b75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27417d",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 221.86,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.10652,
    "h": 264.4
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#27417D
secondary
#AF9251
accent
#B04CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27417D

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

Preview Lab → · Contrast checker → · Palette generator →

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