#27349C#27349C

#27349C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.168 H 270.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#27349C
RGBrgb(39, 52, 156)
HSLhsl(233, 60%, 38%)
HSVhsv(233, 75%, 61%)
CMYKcmyk(75%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.54, 32.04, -57.97)
CIE-LCHlch(27.54, 66.23, 298.93°)
OKLaboklab(38.82% 0.0018 -0.1676)
OKLCHoklch(38.82% 0.168 270.6)
XYZxyz(8.0634, 5.2868, 32.0415)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27349C #9C8F27
analogous
#276E9C #27349C #54279C
triadic
#27349C #9C2734 #349C27
tetradic
#27349C #9C276E #9C8F27 #279C54
square
#27349C #9C276E #9C8F27 #279C54
split-complementary
#27349C #9C5427 #6E9C27
monochromatic
#0F133A #1B246B #27349C #3445CC #6572D8

Accessibility & contrast

On white

10.21
#27349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#27349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27349C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27349C#FFFFFF#000000##FFFFFF
##27349C1.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)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27349c;
/* rgb */ color: rgb(39, 52, 156);
/* oklch */ color: oklch(38.8% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#746bba',
    500: '#27349c',
    950: '#000000',
  },
}
SCSS
$custom: #27349c;
$custom-light: #746bba;
$custom-dark: #000000;
JSON
{
  "hex": "#27349c",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 233.333,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.16763,
    "h": 270.6
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#27349C
secondary
#BEB461
accent
#D245E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27349C

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

Preview Lab → · Contrast checker → · Palette generator →

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