#27388B#27388B

#27388B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.139 H 269.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#27388B
RGBrgb(39, 56, 139)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 55%)
CMYKcmyk(71.9%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.08, 22.98, -48.26)
CIE-LCHlch(27.08, 53.45, 295.46°)
OKLaboklab(38.02% -0.0006 -0.1391)
OKLCHoklch(38.02% 0.139 269.7)
XYZxyz(6.9095, 5.1231, 25.0458)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388B #8B7A27
analogous
#276A8B #27388B #48278B
triadic
#27388B #8B2738 #388B27
tetradic
#27388B #8B276A #8B7A27 #278B48
square
#27388B #8B276A #8B7A27 #278B48
split-complementary
#27388B #8B4827 #6A8B27
monochromatic
#0C112B #1A255B #27388B #344BBB #5B6FD1

Accessibility & contrast

On white

10.37
#27388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#27388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27388B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388B#FFFFFF#000000##FFFFFF
##27388B1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27388b;
/* rgb */ color: rgb(39, 56, 139);
/* oklch */ color: oklch(38.0% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f6eae',
    500: '#27388b',
    950: '#000000',
  },
}
SCSS
$custom: #27388b;
$custom-light: #6f6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#27388b",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 229.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38023,
    "c": 0.13912,
    "h": 269.7
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#27388B
secondary
#B6A658
accent
#C648DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27388B

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

Preview Lab → · Contrast checker → · Palette generator →

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