#27398D#27398D

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

Color values

HEX#27398D
RGBrgb(39, 57, 141)
HSLhsl(229, 57%, 35%)
HSVhsv(229, 72%, 55%)
CMYKcmyk(72.3%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.52, 23.06, -48.79)
CIE-LCHlch(27.52, 53.97, 295.29°)
OKLaboklab(38.4% -0.0014 -0.1407)
OKLCHoklch(38.4% 0.141 269.4)
XYZxyz(7.1059, 5.2800, 25.8388)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27398D #8D7B27
analogous
#276C8D #27398D #48278D
triadic
#27398D #8D2739 #398D27
tetradic
#27398D #8D276C #8D7B27 #278D48
square
#27398D #8D276C #8D7B27 #278D48
split-complementary
#27398D #8D4827 #6C8D27
monochromatic
#0C122D #1A265D #27398D #344CBD #5C71D2

Accessibility & contrast

On white

10.21
#27398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27398D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27398D#FFFFFF#000000##FFFFFF
##27398D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27398d;
/* rgb */ color: rgb(39, 57, 141);
/* oklch */ color: oklch(38.4% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#706faf',
    500: '#27398d',
    950: '#000000',
  },
}
SCSS
$custom: #27398d;
$custom-light: #706faf;
$custom-dark: #000000;
JSON
{
  "hex": "#27398d",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 229.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.14068,
    "h": 269.4
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#27398D
secondary
#B7A659
accent
#C548E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27398D

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

Preview Lab → · Contrast checker → · Palette generator →

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