#27339C#27339C

#27339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 270.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#27339C
RGBrgb(39, 51, 156)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 61%)
CMYKcmyk(75%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.29, 32.69, -58.37)
CIE-LCHlch(27.29, 66.90, 299.25°)
OKLaboklab(38.64% 0.0024 -0.1688)
OKLCHoklch(38.64% 0.169 270.8)
XYZxyz(8.0192, 5.1984, 32.0268)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27339C #9C9027
analogous
#276D9C #27339C #55279C
triadic
#27339C #9C2733 #339C27
tetradic
#27339C #9C276D #9C9027 #279C55
square
#27339C #9C276D #9C9027 #279C55
split-complementary
#27339C #9C5527 #6D9C27
monochromatic
#0F133A #1B236B #27339C #3444CC #6571D8

Accessibility & contrast

On white

10.30
#27339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#27339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27339C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27339C#FFFFFF#000000##FFFFFF
##27339C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27339c;
/* rgb */ color: rgb(39, 51, 156);
/* oklch */ color: oklch(38.6% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#746bba',
    500: '#27339c',
    950: '#000000',
  },
}
SCSS
$custom: #27339c;
$custom-light: #746bba;
$custom-dark: #000000;
JSON
{
  "hex": "#27339c",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 233.846,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.16882,
    "h": 270.8
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#27339C
secondary
#BEB561
accent
#D345E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27339C

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

Preview Lab → · Contrast checker → · Palette generator →

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