#27388E#27388E

#27388E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.143 H 269.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#27388E
RGBrgb(39, 56, 142)
HSLhsl(230, 57%, 35%)
HSVhsv(230, 73%, 56%)
CMYKcmyk(72.5%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.33, 24.12, -49.72)
CIE-LCHlch(27.33, 55.26, 295.88°)
OKLaboklab(38.29% -0.0006 -0.1434)
OKLCHoklch(38.29% 0.143 269.8)
XYZxyz(7.1317, 5.2120, 26.2161)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388E #8E7D27
analogous
#276B8E #27388E #49278E
triadic
#27388E #8E2738 #388E27
tetradic
#27388E #8E276B #8E7D27 #278E49
square
#27388E #8E276B #8E7D27 #278E49
split-complementary
#27388E #8E4927 #6B8E27
monochromatic
#0D122E #1A255E #27388E #344BBE #5D70D2

Accessibility & contrast

On white

10.28
#27388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#27388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27388E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388E#FFFFFF#000000##FFFFFF
##27388E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27388e;
/* rgb */ color: rgb(39, 56, 142);
/* oklch */ color: oklch(38.3% 0.143 269.8);
Tailwind
colors: {
  custom: {
    50: '#706eb0',
    500: '#27388e',
    950: '#000000',
  },
}
SCSS
$custom: #27388e;
$custom-light: #706eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27388e",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 230.097,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.14339,
    "h": 269.8
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#27388E
secondary
#B8A859
accent
#C748E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #27388E

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

Preview Lab → · Contrast checker → · Palette generator →

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