#27398E#27398E

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

Color values

HEX#27398E
RGBrgb(39, 57, 142)
HSLhsl(230, 57%, 35%)
HSVhsv(230, 73%, 56%)
CMYKcmyk(72.5%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.60, 23.44, -49.28)
CIE-LCHlch(27.60, 54.57, 295.44°)
OKLaboklab(38.49% -0.0014 -0.1421)
OKLCHoklch(38.49% 0.142 269.4)
XYZxyz(7.1806, 5.3099, 26.2324)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27398E #8E7C27
analogous
#276C8E #27398E #49278E
triadic
#27398E #8E2739 #398E27
tetradic
#27398E #8E276C #8E7C27 #278E49
square
#27398E #8E276C #8E7C27 #278E49
split-complementary
#27398E #8E4927 #6C8E27
monochromatic
#0D122E #1A265E #27398E #344CBE #5D71D2

Accessibility & contrast

On white

10.18
#27398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#27398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27398E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27398E#FFFFFF#000000##FFFFFF
##27398E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27398e;
/* rgb */ color: rgb(39, 57, 142);
/* oklch */ color: oklch(38.5% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#706fb0',
    500: '#27398e',
    950: '#000000',
  },
}
SCSS
$custom: #27398e;
$custom-light: #706fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27398e",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 229.515,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.1421,
    "h": 269.4
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#27398E
secondary
#B8A759
accent
#C648E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27398E

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

Preview Lab → · Contrast checker → · Palette generator →

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