#27389C#27389C

#27389C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.163 H 269.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#27389C
RGBrgb(39, 56, 156)
HSLhsl(231, 60%, 38%)
HSVhsv(231, 75%, 61%)
CMYKcmyk(75%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.54, 29.41, -56.33)
CIE-LCHlch(28.54, 63.55, 297.57°)
OKLaboklab(39.55% -0.0008 -0.1628)
OKLCHoklch(39.55% 0.163 269.7)
XYZxyz(8.2496, 5.6591, 32.1036)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27389C #9C8B27
analogous
#27729C #27389C #50279C
triadic
#27389C #9C2738 #389C27
tetradic
#27389C #9C2772 #9C8B27 #279C50
square
#27389C #9C2772 #9C8B27 #279C50
split-complementary
#27389C #9C5027 #729C27
monochromatic
#0F153A #1B266B #27389C #344ACC #6576D8

Accessibility & contrast

On white

9.85
#27389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#27389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27389C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27389C#FFFFFF#000000##FFFFFF
##27389C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27389c;
/* rgb */ color: rgb(39, 56, 156);
/* oklch */ color: oklch(39.6% 0.163 269.7);
Tailwind
colors: {
  custom: {
    50: '#736eba',
    500: '#27389c',
    950: '#000000',
  },
}
SCSS
$custom: #27389c;
$custom-light: #736eba;
$custom-dark: #000000;
JSON
{
  "hex": "#27389c",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 231.282,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.1628,
    "h": 269.7
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#27389C
secondary
#BEB161
accent
#CC45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #27389C

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

Preview Lab → · Contrast checker → · Palette generator →

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