#27378D#27378D

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

Color values

HEX#27378D
RGBrgb(39, 55, 141)
HSLhsl(231, 57%, 35%)
HSVhsv(231, 72%, 55%)
CMYKcmyk(72.3%, 61%, 0%, 44.7%)
CIE-LABlab(26.98, 24.42, -49.67)
CIE-LCHlch(26.98, 55.35, 296.18°)
OKLaboklab(38% 0.0002 -0.1433)
OKLCHoklch(38% 0.143 270.1)
XYZxyz(7.0090, 5.0861, 25.8065)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27378D #8D7D27
analogous
#276A8D #27378D #4A278D
triadic
#27378D #8D2737 #378D27
tetradic
#27378D #8D276A #8D7D27 #278D4A
square
#27378D #8D276A #8D7D27 #278D4A
split-complementary
#27378D #8D4A27 #6A8D27
monochromatic
#0C122D #1A245D #27378D #344ABD #5C6FD2

Accessibility & contrast

On white

10.41
#27378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27378D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27378D#FFFFFF#000000##FFFFFF
##27378D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27378d;
/* rgb */ color: rgb(39, 55, 141);
/* oklch */ color: oklch(38.0% 0.143 270.1);
Tailwind
colors: {
  custom: {
    50: '#706daf',
    500: '#27378d',
    950: '#000000',
  },
}
SCSS
$custom: #27378d;
$custom-light: #706daf;
$custom-dark: #000000;
JSON
{
  "hex": "#27378d",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 230.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.14327,
    "h": 270.1
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27378D

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

Preview Lab → · Contrast checker → · Palette generator →

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