#27397C#27397C

#27397C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.116 H 268.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#27397C
RGBrgb(39, 57, 124)
HSLhsl(227, 52%, 32%)
HSVhsv(227, 69%, 49%)
CMYKcmyk(68.5%, 54%, 0%, 51.4%)
CIE-LABlab(26.19, 16.52, -40.33)
CIE-LCHlch(26.19, 43.59, 292.27°)
OKLaboklab(36.99% -0.0024 -0.1158)
OKLCHoklch(36.99% 0.116 268.8)
XYZxyz(5.9367, 4.8123, 19.6809)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27397C #7C6A27
analogous
#27647C #27397C #40277C
triadic
#27397C #7C2739 #397C27
tetradic
#27397C #7C2764 #7C6A27 #277C40
square
#27397C #7C2764 #7C6A27 #277C40
split-complementary
#27397C #7C4027 #647C27
monochromatic
#0A0E1F #18244D #27397C #364EAB #546DC9

Accessibility & contrast

On white

10.70
#27397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#27397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27397C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27397C#FFFFFF#000000##FFFFFF
##27397C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27397c;
/* rgb */ color: rgb(39, 57, 124);
/* oklch */ color: oklch(37.0% 0.116 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c6fa2',
    500: '#27397c',
    950: '#000000',
  },
}
SCSS
$custom: #27397c;
$custom-light: #6c6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#27397c",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 227.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.11581,
    "h": 268.8
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#27397C
secondary
#AE9A51
accent
#BD4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #27397C

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

Preview Lab → · Contrast checker → · Palette generator →

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