#27407B#27407B

#27407B is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.105 H 264.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#27407B
RGBrgb(39, 64, 123)
HSLhsl(222, 52%, 32%)
HSVhsv(222, 68%, 48%)
CMYKcmyk(68.3%, 48%, 0%, 51.8%)
CIE-LABlab(28.19, 11.28, -36.50)
CIE-LCHlch(28.19, 38.20, 287.18°)
OKLaboklab(38.48% -0.0097 -0.1044)
OKLCHoklch(38.48% 0.105 264.7)
XYZxyz(6.2440, 5.5276, 19.4729)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27407B #7B6227
analogous
#276A7B #27407B #38277B
triadic
#27407B #7B2740 #407B27
tetradic
#27407B #7B276A #7B6227 #277B38
square
#27407B #7B276A #7B6227 #277B38
split-complementary
#27407B #7B3827 #6A7B27
monochromatic
#0A101E #18284D #27407B #3658A9 #5477C9

Accessibility & contrast

On white

9.97
#27407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#27407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27407B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27407B#FFFFFF#000000##FFFFFF
##27407B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #27407b;
/* rgb */ color: rgb(39, 64, 123);
/* oklch */ color: oklch(38.5% 0.105 264.7);
Tailwind
colors: {
  custom: {
    50: '#6b74a1',
    500: '#27407b',
    950: '#000000',
  },
}
SCSS
$custom: #27407b;
$custom-light: #6b74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27407b",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 222.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.10484,
    "h": 264.7
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#27407B
secondary
#AD9251
accent
#B14CDB
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27407B

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

Preview Lab → · Contrast checker → · Palette generator →

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