#27336A#27336A

#27336A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.097 H 271.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#27336A
RGBrgb(39, 51, 106)
HSLhsl(229, 46%, 28%)
HSVhsv(229, 63%, 42%)
CMYKcmyk(63.2%, 51.9%, 0%, 58.4%)
CIE-LABlab(23.13, 13.82, -33.79)
CIE-LCHlch(23.13, 36.50, 292.24°)
OKLaboklab(34.25% 0.0021 -0.0966)
OKLCHoklch(34.25% 0.097 271.2)
XYZxyz(4.6212, 3.8392, 14.1304)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27336A #6A5E27
analogous
#27546A #27336A #3C276A
triadic
#27336A #6A2733 #336A27
tetradic
#27336A #6A2754 #6A5E27 #276A3C
square
#27336A #6A2754 #6A5E27 #276A3C
split-complementary
#27336A #6A3C27 #546A27
monochromatic
#080B16 #171D3D #27336A #374997 #4E62BE

Accessibility & contrast

On white

11.88
#27336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#27336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27336A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27336A#FFFFFF#000000##FFFFFF
##27336A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#0A3469
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27336a;
/* rgb */ color: rgb(39, 51, 106);
/* oklch */ color: oklch(34.3% 0.097 271.2);
Tailwind
colors: {
  custom: {
    50: '#686a95',
    500: '#27336a',
    950: '#000000',
  },
}
SCSS
$custom: #27336a;
$custom-light: #686a95;
$custom-dark: #000000;
JSON
{
  "hex": "#27336a",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 229.254,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34251,
    "c": 0.09664,
    "h": 271.2
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#27336A
secondary
#9D8F50
accent
#BE52D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #27336A

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

Preview Lab → · Contrast checker → · Palette generator →

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