#27339F#27339F

#27339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.173 H 270.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#27339F
RGBrgb(39, 51, 159)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(75.5%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.58, 33.79, -59.73)
CIE-LCHlch(27.58, 68.62, 299.50°)
OKLaboklab(38.93% 0.0022 -0.1728)
OKLCHoklch(38.93% 0.173 270.7)
XYZxyz(8.2764, 5.3013, 33.3812)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27339F #9F9327
analogous
#276F9F #27339F #57279F
triadic
#27339F #9F2733 #339F27
tetradic
#27339F #9F276F #9F9327 #279F57
square
#27339F #9F276F #9F9327 #279F57
split-complementary
#27339F #9F5727 #6F9F27
monochromatic
#0F133D #1B236E #27339F #3645CE #6772DA

Accessibility & contrast

On white

10.19
#27339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#27339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27339F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27339F#FFFFFF#000000##FFFFFF
##27339F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27339f;
/* rgb */ color: rgb(39, 51, 159);
/* oklch */ color: oklch(38.9% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#27339f',
    950: '#000000',
  },
}
SCSS
$custom: #27339f;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#27339f",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 234,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.17278,
    "h": 270.7
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#27339F
secondary
#C0B662
accent
#D444E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27339F

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

Preview Lab → · Contrast checker → · Palette generator →

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