#27378B#27378B

#27378B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.140 H 270.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#27378B
RGBrgb(39, 55, 139)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 55%)
CMYKcmyk(71.9%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.81, 23.66, -48.70)
CIE-LCHlch(26.81, 54.15, 295.91°)
OKLaboklab(37.82% 0.0002 -0.1404)
OKLCHoklch(37.82% 0.14 270.1)
XYZxyz(6.8615, 5.0271, 25.0298)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27378B #8B7B27
analogous
#27698B #27378B #49278B
triadic
#27378B #8B2737 #378B27
tetradic
#27378B #8B2769 #8B7B27 #278B49
square
#27378B #8B2769 #8B7B27 #278B49
split-complementary
#27378B #8B4927 #698B27
monochromatic
#0C112B #1A245B #27378B #344ABB #5B6ED1

Accessibility & contrast

On white

10.47
#27378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27378B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27378B#FFFFFF#000000##FFFFFF
##27378B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27378b;
/* rgb */ color: rgb(39, 55, 139);
/* oklch */ color: oklch(37.8% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f6dae',
    500: '#27378b',
    950: '#000000',
  },
}
SCSS
$custom: #27378b;
$custom-light: #6f6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#27378b",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 230.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.14043,
    "h": 270.1
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#27378B
secondary
#B6A758
accent
#C748DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27378B

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

Preview Lab → · Contrast checker → · Palette generator →

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