#27319F#27319F

#27319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.175 H 271.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#27319F
RGBrgb(39, 49, 159)
HSLhsl(235, 61%, 39%)
HSVhsv(235, 75%, 62%)
CMYKcmyk(75.5%, 69.2%, 0%, 37.6%)
CIE-LABlab(27.10, 35.06, -60.50)
CIE-LCHlch(27.10, 69.93, 300.09°)
OKLaboklab(38.59% 0.0033 -0.175)
OKLCHoklch(38.59% 0.175 271.1)
XYZxyz(8.1909, 5.1303, 33.3527)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319F #9F9527
analogous
#276D9F #27319F #59279F
triadic
#27319F #9F2731 #319F27
tetradic
#27319F #9F276D #9F9527 #279F59
square
#27319F #9F276D #9F9527 #279F59
split-complementary
#27319F #9F5927 #6D9F27
monochromatic
#0F133D #1B226E #27319F #3642CE #6770DA

Accessibility & contrast

On white

10.36
#27319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#27319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319F#FFFFFF#000000##FFFFFF
##27319F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27319f;
/* rgb */ color: rgb(39, 49, 159);
/* oklch */ color: oklch(38.6% 0.175 271.1);
Tailwind
colors: {
  custom: {
    50: '#7569bc',
    500: '#27319f',
    950: '#000000',
  },
}
SCSS
$custom: #27319f;
$custom-light: #7569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27319f",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 235,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3859,
    "c": 0.17508,
    "h": 271.1
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#27319F
secondary
#C0B862
accent
#D644E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27319F

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

Preview Lab → · Contrast checker → · Palette generator →

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