#27378E#27378E

#27378E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.145 H 270.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#27378E
RGBrgb(39, 55, 142)
HSLhsl(231, 57%, 35%)
HSVhsv(231, 73%, 56%)
CMYKcmyk(72.5%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.06, 24.80, -50.15)
CIE-LCHlch(27.06, 55.95, 296.31°)
OKLaboklab(38.09% 0.0002 -0.1447)
OKLCHoklch(38.09% 0.145 270.1)
XYZxyz(7.0837, 5.1160, 26.2001)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27378E #8E7E27
analogous
#276A8E #27378E #4B278E
triadic
#27378E #8E2737 #378E27
tetradic
#27378E #8E276A #8E7E27 #278E4B
square
#27378E #8E276A #8E7E27 #278E4B
split-complementary
#27378E #8E4B27 #6A8E27
monochromatic
#0D122E #1A245E #27378E #344ABE #5D6FD2

Accessibility & contrast

On white

10.38
#27378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#27378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27378E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27378E#FFFFFF#000000##FFFFFF
##27378E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27378e;
/* rgb */ color: rgb(39, 55, 142);
/* oklch */ color: oklch(38.1% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#706db0',
    500: '#27378e',
    950: '#000000',
  },
}
SCSS
$custom: #27378e;
$custom-light: #706db0;
$custom-dark: #000000;
JSON
{
  "hex": "#27378e",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 230.68,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.14468,
    "h": 270.1
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#27378E
secondary
#B8A959
accent
#C848E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27378E

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

Preview Lab → · Contrast checker → · Palette generator →

#27378E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva