#27339D#27339D

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

Color values

HEX#27339D
RGBrgb(39, 51, 157)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(75.2%, 67.5%, 0%, 38.4%)
CIE-LABlab(27.39, 33.06, -58.82)
CIE-LCHlch(27.39, 67.47, 299.34°)
OKLaboklab(38.74% 0.0023 -0.1701)
OKLCHoklch(38.74% 0.17 270.8)
XYZxyz(8.1043, 5.2325, 32.4746)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27339D #9D9127
analogous
#276E9D #27339D #56279D
triadic
#27339D #9D2733 #339D27
tetradic
#27339D #9D276E #9D9127 #279D56
square
#27339D #9D276E #9D9127 #279D56
split-complementary
#27339D #9D5627 #6E9D27
monochromatic
#0F133B #1B236C #27339D #3544CD #6671D9

Accessibility & contrast

On white

10.26
#27339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#27339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27339D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27339D#FFFFFF#000000##FFFFFF
##27339D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27339d;
/* rgb */ color: rgb(39, 51, 157);
/* oklch */ color: oklch(38.7% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#746bbb',
    500: '#27339d',
    950: '#000000',
  },
}
SCSS
$custom: #27339d;
$custom-light: #746bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#27339d",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 233.898,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.17015,
    "h": 270.8
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#27339D
secondary
#BFB561
accent
#D344E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27339D

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

Preview Lab → · Contrast checker → · Palette generator →

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