#27388C#27388C

#27388C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.141 H 269.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#27388C
RGBrgb(39, 56, 140)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 55%)
CMYKcmyk(72.1%, 60%, 0%, 45.1%)
CIE-LABlab(27.16, 23.36, -48.75)
CIE-LCHlch(27.16, 54.06, 295.60°)
OKLaboklab(38.11% -0.0006 -0.1405)
OKLCHoklch(38.11% 0.141 269.7)
XYZxyz(6.9829, 5.1524, 25.4324)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388C #8C7B27
analogous
#276A8C #27388C #48278C
triadic
#27388C #8C2738 #388C27
tetradic
#27388C #8C276A #8C7B27 #278C48
square
#27388C #8C276A #8C7B27 #278C48
split-complementary
#27388C #8C4827 #6A8C27
monochromatic
#0C122C #1A255C #27388C #344BBC #5C70D2

Accessibility & contrast

On white

10.34
#27388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#27388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27388C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388C#FFFFFF#000000##FFFFFF
##27388C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27388c;
/* rgb */ color: rgb(39, 56, 140);
/* oklch */ color: oklch(38.1% 0.141 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f6eae',
    500: '#27388c',
    950: '#000000',
  },
}
SCSS
$custom: #27388c;
$custom-light: #6f6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#27388c",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 229.901,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.14055,
    "h": 269.7
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#27388C
secondary
#B7A758
accent
#C648E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27388C

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

Preview Lab → · Contrast checker → · Palette generator →

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