#27338A#27338A

#27338A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.144 H 271.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#27338A
RGBrgb(39, 51, 138)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 54%)
CMYKcmyk(71.7%, 63%, 0%, 45.9%)
CIE-LABlab(25.66, 26.00, -49.95)
CIE-LCHlch(25.66, 56.31, 297.49°)
OKLaboklab(36.94% 0.0034 -0.1441)
OKLCHoklch(36.94% 0.144 271.4)
XYZxyz(6.6064, 4.6333, 24.5860)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27338A #8A7E27
analogous
#27658A #27338A #4C278A
triadic
#27338A #8A2733 #338A27
tetradic
#27338A #8A2765 #8A7E27 #278A4C
square
#27338A #8A2765 #8A7E27 #278A4C
split-complementary
#27338A #8A4C27 #658A27
monochromatic
#0C102B #1A215A #27338A #3445BA #5B69D1

Accessibility & contrast

On white

10.90
#27338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#27338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27338A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27338A#FFFFFF#000000##FFFFFF
##27338A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #27338a;
/* rgb */ color: rgb(39, 51, 138);
/* oklch */ color: oklch(36.9% 0.144 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f6aad',
    500: '#27338a',
    950: '#000000',
  },
}
SCSS
$custom: #27338a;
$custom-light: #6f6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#27338a",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 232.727,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.14419,
    "h": 271.4
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#27338A
secondary
#B6AA57
accent
#CD49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27338A

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

Preview Lab → · Contrast checker → · Palette generator →

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