#27368B#27368B

#27368B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.142 H 270.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#27368B
RGBrgb(39, 54, 139)
HSLhsl(231, 56%, 35%)
HSVhsv(231, 72%, 55%)
CMYKcmyk(71.9%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.54, 24.34, -49.14)
CIE-LCHlch(26.54, 54.84, 296.35°)
OKLaboklab(37.62% 0.001 -0.1417)
OKLCHoklch(37.62% 0.142 270.4)
XYZxyz(6.8145, 4.9331, 25.0141)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27368B #8B7C27
analogous
#27688B #27368B #4A278B
triadic
#27368B #8B2736 #368B27
tetradic
#27368B #8B2768 #8B7C27 #278B4A
square
#27368B #8B2768 #8B7C27 #278B4A
split-complementary
#27368B #8B4A27 #688B27
monochromatic
#0C112B #1A235B #27368B #3449BB #5B6DD1

Accessibility & contrast

On white

10.57
#27368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27368B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27368B#FFFFFF#000000##FFFFFF
##27368B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27368b;
/* rgb */ color: rgb(39, 54, 139);
/* oklch */ color: oklch(37.6% 0.142 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f6cae',
    500: '#27368b',
    950: '#000000',
  },
}
SCSS
$custom: #27368b;
$custom-light: #6f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#27368b",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 231,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37622,
    "c": 0.14173,
    "h": 270.4
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#27368B
secondary
#B6A858
accent
#C948DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27368B

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

Preview Lab → · Contrast checker → · Palette generator →

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