#27388F#27388F

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

Color values

HEX#27388F
RGBrgb(39, 56, 143)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 73%, 56%)
CMYKcmyk(72.7%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.41, 24.50, -50.20)
CIE-LCHlch(27.41, 55.86, 296.02°)
OKLaboklab(38.37% -0.0006 -0.1448)
OKLCHoklch(38.37% 0.145 269.8)
XYZxyz(7.2071, 5.2421, 26.6133)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27388F #8F7E27
analogous
#276C8F #27388F #4A278F
triadic
#27388F #8F2738 #388F27
tetradic
#27388F #8F276C #8F7E27 #278F4A
square
#27388F #8F276C #8F7E27 #278F4A
split-complementary
#27388F #8F4A27 #6C8F27
monochromatic
#0D122F #1A255F #27388F #344BBF #5D71D3

Accessibility & contrast

On white

10.25
#27388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#27388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27388F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27388F#FFFFFF#000000##FFFFFF
##27388F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #27388f;
/* rgb */ color: rgb(39, 56, 143);
/* oklch */ color: oklch(38.4% 0.145 269.8);
Tailwind
colors: {
  custom: {
    50: '#706eb1',
    500: '#27388f',
    950: '#000000',
  },
}
SCSS
$custom: #27388f;
$custom-light: #706eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#27388f",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 230.192,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.14481,
    "h": 269.8
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#27388F
secondary
#B8A95A
accent
#C747E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #27388F

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

Preview Lab → · Contrast checker → · Palette generator →

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