#27399B#27399B

#27399B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.160 H 269.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#27399B
RGBrgb(39, 57, 155)
HSLhsl(231, 60%, 38%)
HSVhsv(231, 75%, 61%)
CMYKcmyk(74.8%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.70, 28.37, -55.45)
CIE-LCHlch(28.70, 62.28, 297.10°)
OKLaboklab(39.65% -0.0015 -0.1602)
OKLCHoklch(39.65% 0.16 269.5)
XYZxyz(8.2142, 5.7233, 31.6758)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27399B #9B8927
analogous
#27739B #27399B #4F279B
triadic
#27399B #9B2739 #399B27
tetradic
#27399B #9B2773 #9B8927 #279B4F
square
#27399B #9B2773 #9B8927 #279B4F
split-complementary
#27399B #9B4F27 #739B27
monochromatic
#0E1539 #1B276A #27399B #334BCC #6476D8

Accessibility & contrast

On white

9.79
#27399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#27399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27399B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27399B#FFFFFF#000000##FFFFFF
##27399B1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27399b;
/* rgb */ color: rgb(39, 57, 155);
/* oklch */ color: oklch(39.6% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#736fb9',
    500: '#27399b',
    950: '#000000',
  },
}
SCSS
$custom: #27399b;
$custom-light: #736fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#27399b",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 230.69,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.16021,
    "h": 269.5
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#27399B
secondary
#BEAF60
accent
#CA45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #27399B

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

Preview Lab → · Contrast checker → · Palette generator →

#27399B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva