#27388A#27388A

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

Color values

HEX#27388A
RGBrgb(39, 56, 138)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 54%)
CMYKcmyk(71.7%, 59.4%, 0%, 45.9%)
CIE-LABlab(27.00, 22.59, -47.78)
CIE-LCHlch(27.00, 52.85, 295.31°)
OKLaboklab(37.94% -0.0007 -0.1377)
OKLCHoklch(37.94% 0.138 269.7)
XYZxyz(6.8368, 5.0940, 24.6628)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388A #8A7927
analogous
#276A8A #27388A #48278A
triadic
#27388A #8A2738 #388A27
tetradic
#27388A #8A276A #8A7927 #278A48
square
#27388A #8A276A #8A7927 #278A48
split-complementary
#27388A #8A4827 #6A8A27
monochromatic
#0C112B #1A255A #27388A #344BBA #5B6FD1

Accessibility & contrast

On white

10.40
#27388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27388A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388A#FFFFFF#000000##FFFFFF
##27388A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27388a;
/* rgb */ color: rgb(39, 56, 138);
/* oklch */ color: oklch(37.9% 0.138 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f6ead',
    500: '#27388a',
    950: '#000000',
  },
}
SCSS
$custom: #27388a;
$custom-light: #6f6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#27388a",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 229.697,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.13769,
    "h": 269.7
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#27388A
secondary
#B6A557
accent
#C549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27388A

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

Preview Lab → · Contrast checker → · Palette generator →

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