#27388D#27388D

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

Color values

HEX#27388D
RGBrgb(39, 56, 141)
HSLhsl(230, 57%, 35%)
HSVhsv(230, 72%, 55%)
CMYKcmyk(72.3%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.25, 23.74, -49.23)
CIE-LCHlch(27.25, 54.66, 295.74°)
OKLaboklab(38.2% -0.0006 -0.142)
OKLCHoklch(38.2% 0.142 269.7)
XYZxyz(7.0569, 5.1821, 25.8225)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388D #8D7C27
analogous
#276B8D #27388D #49278D
triadic
#27388D #8D2738 #388D27
tetradic
#27388D #8D276B #8D7C27 #278D49
square
#27388D #8D276B #8D7C27 #278D49
split-complementary
#27388D #8D4927 #6B8D27
monochromatic
#0C122D #1A255D #27388D #344BBD #5C70D2

Accessibility & contrast

On white

10.31
#27388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#27388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27388D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388D#FFFFFF#000000##FFFFFF
##27388D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27388d;
/* rgb */ color: rgb(39, 56, 141);
/* oklch */ color: oklch(38.2% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#706eaf',
    500: '#27388d',
    950: '#000000',
  },
}
SCSS
$custom: #27388d;
$custom-light: #706eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#27388d",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 230,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.14197,
    "h": 269.7
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#27388D
secondary
#B7A759
accent
#C748E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27388D

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

Preview Lab → · Contrast checker → · Palette generator →

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