#27398A#27398A

#27398A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.136 H 269.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#27398A
RGBrgb(39, 57, 138)
HSLhsl(229, 56%, 35%)
HSVhsv(229, 72%, 54%)
CMYKcmyk(71.7%, 58.7%, 0%, 45.9%)
CIE-LABlab(27.27, 21.91, -47.33)
CIE-LCHlch(27.27, 52.15, 294.84°)
OKLaboklab(38.14% -0.0015 -0.1364)
OKLCHoklch(38.14% 0.136 269.4)
XYZxyz(6.8857, 5.1919, 24.6791)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27398A #8A7827
analogous
#276B8A #27398A #47278A
triadic
#27398A #8A2739 #398A27
tetradic
#27398A #8A276B #8A7827 #278A47
square
#27398A #8A276B #8A7827 #278A47
split-complementary
#27398A #8A4727 #6B8A27
monochromatic
#0C122B #1A255A #27398A #344DBA #5B70D1

Accessibility & contrast

On white

10.30
#27398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#27398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27398A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27398A#FFFFFF#000000##FFFFFF
##27398A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27398a;
/* rgb */ color: rgb(39, 57, 138);
/* oklch */ color: oklch(38.1% 0.136 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fad',
    500: '#27398a',
    950: '#000000',
  },
}
SCSS
$custom: #27398a;
$custom-light: #6f6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#27398a",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 229.091,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.13638,
    "h": 269.4
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#27398A
secondary
#B6A457
accent
#C449DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27398A

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

Preview Lab → · Contrast checker → · Palette generator →

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