#27398F#27398F

#27398F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.144 H 269.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#27398F
RGBrgb(39, 57, 143)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 73%, 56%)
CMYKcmyk(72.7%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.68, 23.82, -49.76)
CIE-LCHlch(27.68, 55.17, 295.58°)
OKLaboklab(38.57% -0.0014 -0.1435)
OKLCHoklch(38.57% 0.144 269.4)
XYZxyz(7.2561, 5.3400, 26.6296)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27398F #8F7D27
analogous
#276D8F #27398F #49278F
triadic
#27398F #8F2739 #398F27
tetradic
#27398F #8F276D #8F7D27 #278F49
square
#27398F #8F276D #8F7D27 #278F49
split-complementary
#27398F #8F4927 #6D8F27
monochromatic
#0D132F #1A265F #27398F #344CBF #5D72D3

Accessibility & contrast

On white

10.15
#27398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#27398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27398F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27398F#FFFFFF#000000##FFFFFF
##27398F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27398f;
/* rgb */ color: rgb(39, 57, 143);
/* oklch */ color: oklch(38.6% 0.144 269.4);
Tailwind
colors: {
  custom: {
    50: '#706fb1',
    500: '#27398f',
    950: '#000000',
  },
}
SCSS
$custom: #27398f;
$custom-light: #706fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#27398f",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 229.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.14352,
    "h": 269.4
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#27398F
secondary
#B8A85A
accent
#C647E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #27398F

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

Preview Lab → · Contrast checker → · Palette generator →

#27398F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva