#27378C#27378C

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

Color values

HEX#27378C
RGBrgb(39, 55, 140)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 55%)
CMYKcmyk(72.1%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.90, 24.04, -49.19)
CIE-LCHlch(26.90, 54.75, 296.05°)
OKLaboklab(37.91% 0.0002 -0.1418)
OKLCHoklch(37.91% 0.142 270.1)
XYZxyz(6.9349, 5.0565, 25.4164)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27378C #8C7C27
analogous
#276A8C #27378C #49278C
triadic
#27378C #8C2737 #378C27
tetradic
#27378C #8C276A #8C7C27 #278C49
square
#27378C #8C276A #8C7C27 #278C49
split-complementary
#27378C #8C4927 #6A8C27
monochromatic
#0C112C #1A245C #27378C #344ABC #5C6ED2

Accessibility & contrast

On white

10.44
#27378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#27378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27378C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27378C#FFFFFF#000000##FFFFFF
##27378C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27378c;
/* rgb */ color: rgb(39, 55, 140);
/* oklch */ color: oklch(37.9% 0.142 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f6dae',
    500: '#27378c',
    950: '#000000',
  },
}
SCSS
$custom: #27378c;
$custom-light: #6f6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#27378c",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 230.495,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.14185,
    "h": 270.1
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#27378C
secondary
#B7A858
accent
#C848E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27378C

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

Preview Lab → · Contrast checker → · Palette generator →

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