#27407F#27407F

#27407F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.111 H 265.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#27407F
RGBrgb(39, 64, 127)
HSLhsl(223, 53%, 33%)
HSVhsv(223, 69%, 50%)
CMYKcmyk(69.3%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.46, 12.83, -38.57)
CIE-LCHlch(28.46, 40.65, 288.40°)
OKLaboklab(38.78% -0.0091 -0.1105)
OKLCHoklch(38.78% 0.111 265.3)
XYZxyz(6.4995, 5.6298, 20.8187)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27407F #7F6627
analogous
#276C7F #27407F #3A277F
triadic
#27407F #7F2740 #407F27
tetradic
#27407F #7F276C #7F6627 #277F3A
square
#27407F #7F276C #7F6627 #277F3A
split-complementary
#27407F #7F3A27 #6C7F27
monochromatic
#0A1121 #192850 #27407F #3558AE #5577CB

Accessibility & contrast

On white

9.88
#27407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#27407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27407F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27407F#FFFFFF#000000##FFFFFF
##27407F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#0B3F7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27407f;
/* rgb */ color: rgb(39, 64, 127);
/* oklch */ color: oklch(38.8% 0.111 265.3);
Tailwind
colors: {
  custom: {
    50: '#6c74a4',
    500: '#27407f',
    950: '#000000',
  },
}
SCSS
$custom: #27407f;
$custom-light: #6c74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27407f",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 222.955,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38776,
    "c": 0.11085,
    "h": 265.3
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#27407F
secondary
#B09552
accent
#B34BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27407F

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

Preview Lab → · Contrast checker → · Palette generator →

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