#27348C#27348C

#27348C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.146 H 271.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#27348C
RGBrgb(39, 52, 140)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 72%, 55%)
CMYKcmyk(72.1%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.10, 26.07, -50.49)
CIE-LCHlch(26.10, 56.82, 297.31°)
OKLaboklab(37.32% 0.0026 -0.1457)
OKLCHoklch(37.32% 0.146 271)
XYZxyz(6.7967, 4.7801, 25.3703)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27348C #8C7F27
analogous
#27678C #27348C #4C278C
triadic
#27348C #8C2734 #348C27
tetradic
#27348C #8C2767 #8C7F27 #278C4C
square
#27348C #8C2767 #8C7F27 #278C4C
split-complementary
#27348C #8C4C27 #678C27
monochromatic
#0C102C #1A225C #27348C #3446BC #5C6BD2

Accessibility & contrast

On white

10.74
#27348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#27348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27348C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27348C#FFFFFF#000000##FFFFFF
##27348C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27348c;
/* rgb */ color: rgb(39, 52, 140);
/* oklch */ color: oklch(37.3% 0.146 271.0);
Tailwind
colors: {
  custom: {
    50: '#706bae',
    500: '#27348c',
    950: '#000000',
  },
}
SCSS
$custom: #27348c;
$custom-light: #706bae;
$custom-dark: #000000;
JSON
{
  "hex": "#27348c",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 232.277,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.14572,
    "h": 271
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#27348C
secondary
#B7AA58
accent
#CC48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27348C

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

Preview Lab → · Contrast checker → · Palette generator →

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