#27398C#27398C

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

Color values

HEX#27398C
RGBrgb(39, 57, 140)
HSLhsl(229, 56%, 35%)
HSVhsv(229, 72%, 55%)
CMYKcmyk(72.1%, 59.3%, 0%, 45.1%)
CIE-LABlab(27.44, 22.67, -48.31)
CIE-LCHlch(27.44, 53.36, 295.15°)
OKLaboklab(38.31% -0.0015 -0.1392)
OKLCHoklch(38.31% 0.139 269.4)
XYZxyz(7.0318, 5.2503, 25.4487)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27398C #8C7A27
analogous
#276B8C #27398C #47278C
triadic
#27398C #8C2739 #398C27
tetradic
#27398C #8C276B #8C7A27 #278C47
square
#27398C #8C276B #8C7A27 #278C47
split-complementary
#27398C #8C4727 #6B8C27
monochromatic
#0C122C #1A265C #27398C #344CBC #5C71D2

Accessibility & contrast

On white

10.24
#27398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#27398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27398C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27398C#FFFFFF#000000##FFFFFF
##27398C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27398c;
/* rgb */ color: rgb(39, 57, 140);
/* oklch */ color: oklch(38.3% 0.139 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fae',
    500: '#27398c',
    950: '#000000',
  },
}
SCSS
$custom: #27398c;
$custom-light: #6f6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#27398c",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 229.307,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.13925,
    "h": 269.4
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#27398C
secondary
#B7A658
accent
#C548E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27398C

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

Preview Lab → · Contrast checker → · Palette generator →

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