#27336F#27336F

#27336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.104 H 271.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#27336F
RGBrgb(39, 51, 111)
HSLhsl(230, 48%, 29%)
HSVhsv(230, 65%, 44%)
CMYKcmyk(64.9%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.49, 15.72, -36.43)
CIE-LCHlch(23.49, 39.67, 293.34°)
OKLaboklab(34.64% 0.0026 -0.1044)
OKLCHoklch(34.64% 0.104 271.4)
XYZxyz(4.8888, 3.9463, 15.5399)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27336F #6F6327
analogous
#27576F #27336F #3F276F
triadic
#27336F #6F2733 #336F27
tetradic
#27336F #6F2757 #6F6327 #276F3F
square
#27336F #6F2757 #6F6327 #276F3F
split-complementary
#27336F #6F3F27 #576F27
monochromatic
#080A17 #171E42 #27336F #37489C #4F62C1

Accessibility & contrast

On white

11.74
#27336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#27336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27336F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27336F#FFFFFF#000000##FFFFFF
##27336F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27336f;
/* rgb */ color: rgb(39, 51, 111);
/* oklch */ color: oklch(34.6% 0.104 271.4);
Tailwind
colors: {
  custom: {
    50: '#696a99',
    500: '#27336f',
    950: '#000000',
  },
}
SCSS
$custom: #27336f;
$custom-light: #696a99;
$custom-dark: #000000;
JSON
{
  "hex": "#27336f",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 230,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34639,
    "c": 0.10441,
    "h": 271.4
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#27336F
secondary
#A29450
accent
#C150D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #27336F

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

Preview Lab → · Contrast checker → · Palette generator →

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