#27368E#27368E

#27368E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.146 H 270.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#27368E
RGBrgb(39, 54, 142)
HSLhsl(231, 57%, 35%)
HSVhsv(231, 73%, 56%)
CMYKcmyk(72.5%, 62%, 0%, 44.3%)
CIE-LABlab(26.80, 25.48, -50.58)
CIE-LCHlch(26.80, 56.64, 296.73°)
OKLaboklab(37.89% 0.001 -0.146)
OKLCHoklch(37.89% 0.146 270.4)
XYZxyz(7.0367, 5.0220, 26.1844)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27368E #8E7F27
analogous
#27698E #27368E #4B278E
triadic
#27368E #8E2736 #368E27
tetradic
#27368E #8E2769 #8E7F27 #278E4B
square
#27368E #8E2769 #8E7F27 #278E4B
split-complementary
#27368E #8E4B27 #698E27
monochromatic
#0D112E #1A245E #27368E #3448BE #5D6ED2

Accessibility & contrast

On white

10.48
#27368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#27368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27368E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27368E#FFFFFF#000000##FFFFFF
##27368E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27368e;
/* rgb */ color: rgb(39, 54, 142);
/* oklch */ color: oklch(37.9% 0.146 270.4);
Tailwind
colors: {
  custom: {
    50: '#706cb0',
    500: '#27368e',
    950: '#000000',
  },
}
SCSS
$custom: #27368e;
$custom-light: #706cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27368e",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 231.262,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.14597,
    "h": 270.4
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#27368E
secondary
#B8AA59
accent
#CA48E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #27368E

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

Preview Lab → · Contrast checker → · Palette generator →

#27368E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva