#27339B#27339B

#27339B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.167 H 270.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#27339B
RGBrgb(39, 51, 155)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 61%)
CMYKcmyk(74.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(27.20, 32.32, -57.91)
CIE-LCHlch(27.20, 66.32, 299.17°)
OKLaboklab(38.54% 0.0025 -0.1675)
OKLCHoklch(38.54% 0.167 270.9)
XYZxyz(7.9349, 5.1647, 31.5827)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27339B #9B8F27
analogous
#276D9B #27339B #55279B
triadic
#27339B #9B2733 #339B27
tetradic
#27339B #9B276D #9B8F27 #279B55
square
#27339B #9B276D #9B8F27 #279B55
split-complementary
#27339B #9B5527 #6D9B27
monochromatic
#0E1339 #1B236A #27339B #3343CC #6470D8

Accessibility & contrast

On white

10.33
#27339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27339B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27339B#FFFFFF#000000##FFFFFF
##27339B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27339b;
/* rgb */ color: rgb(39, 51, 155);
/* oklch */ color: oklch(38.5% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#27339b',
    950: '#000000',
  },
}
SCSS
$custom: #27339b;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#27339b",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 233.793,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.16748,
    "h": 270.9
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27339B

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

Preview Lab → · Contrast checker → · Palette generator →

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