#27368C#27368C

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

Color values

HEX#27368C
RGBrgb(39, 54, 140)
HSLhsl(231, 56%, 35%)
HSVhsv(231, 72%, 55%)
CMYKcmyk(72.1%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.63, 24.72, -49.62)
CIE-LCHlch(26.63, 55.44, 296.48°)
OKLaboklab(37.71% 0.001 -0.1431)
OKLCHoklch(37.71% 0.143 270.4)
XYZxyz(6.8879, 4.9624, 25.4007)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27368C #8C7D27
analogous
#27698C #27368C #4A278C
triadic
#27368C #8C2736 #368C27
tetradic
#27368C #8C2769 #8C7D27 #278C4A
square
#27368C #8C2769 #8C7D27 #278C4A
split-complementary
#27368C #8C4A27 #698C27
monochromatic
#0C112C #1A245C #27368C #3448BC #5C6DD2

Accessibility & contrast

On white

10.54
#27368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#27368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27368C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27368C#FFFFFF#000000##FFFFFF
##27368C1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27368c;
/* rgb */ color: rgb(39, 54, 140);
/* oklch */ color: oklch(37.7% 0.143 270.4);
Tailwind
colors: {
  custom: {
    50: '#706cae',
    500: '#27368c',
    950: '#000000',
  },
}
SCSS
$custom: #27368c;
$custom-light: #706cae;
$custom-dark: #000000;
JSON
{
  "hex": "#27368c",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 231.089,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.14315,
    "h": 270.4
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#27368C
secondary
#B7A958
accent
#C948E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27368C

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

Preview Lab → · Contrast checker → · Palette generator →

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