#27339A#27339A

#27339A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.166 H 270.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#27339A
RGBrgb(39, 51, 154)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(74.7%, 66.9%, 0%, 39.6%)
CIE-LABlab(27.11, 31.96, -57.45)
CIE-LCHlch(27.11, 65.74, 299.08°)
OKLaboklab(38.45% 0.0026 -0.1661)
OKLCHoklch(38.45% 0.166 270.9)
XYZxyz(7.8513, 5.1313, 31.1422)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27339A #9A8E27
analogous
#276C9A #27339A #54279A
triadic
#27339A #9A2733 #339A27
tetradic
#27339A #9A276C #9A8E27 #279A54
square
#27339A #9A276C #9A8E27 #279A54
split-complementary
#27339A #9A5427 #6C9A27
monochromatic
#0E1338 #1B2369 #27339A #3343CB #6470D8

Accessibility & contrast

On white

10.36
#27339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#27339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27339A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27339A#FFFFFF#000000##FFFFFF
##27339A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27339a;
/* rgb */ color: rgb(39, 51, 154);
/* oklch */ color: oklch(38.4% 0.166 270.9);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#27339a',
    950: '#000000',
  },
}
SCSS
$custom: #27339a;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#27339a",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 233.739,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38447,
    "c": 0.16614,
    "h": 270.9
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#27339A
secondary
#BDB45F
accent
#D245E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27339A

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

Preview Lab → · Contrast checker → · Palette generator →

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