#27378F#27378F

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

Color values

HEX#27378F
RGBrgb(39, 55, 143)
HSLhsl(231, 57%, 36%)
HSVhsv(231, 73%, 56%)
CMYKcmyk(72.7%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.15, 25.18, -50.63)
CIE-LCHlch(27.15, 56.55, 296.44°)
OKLaboklab(38.17% 0.0002 -0.1461)
OKLCHoklch(38.17% 0.146 270.1)
XYZxyz(7.1591, 5.1462, 26.5973)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27378F #8F7F27
analogous
#276B8F #27378F #4B278F
triadic
#27378F #8F2737 #378F27
tetradic
#27378F #8F276B #8F7F27 #278F4B
square
#27378F #8F276B #8F7F27 #278F4B
split-complementary
#27378F #8F4B27 #6B8F27
monochromatic
#0D122F #1A255F #27378F #3449BF #5D70D3

Accessibility & contrast

On white

10.35
#27378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#27378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27378F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27378F#FFFFFF#000000##FFFFFF
##27378F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27378f;
/* rgb */ color: rgb(39, 55, 143);
/* oklch */ color: oklch(38.2% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#706db1',
    500: '#27378f',
    950: '#000000',
  },
}
SCSS
$custom: #27378f;
$custom-light: #706db1;
$custom-dark: #000000;
JSON
{
  "hex": "#27378f",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 230.769,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.14609,
    "h": 270.1
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#27378F
secondary
#B8AA5A
accent
#C947E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #27378F

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

Preview Lab → · Contrast checker → · Palette generator →

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