#27397B#27397B

#27397B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.114 H 268.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#27397B
RGBrgb(39, 57, 123)
HSLhsl(227, 52%, 32%)
HSVhsv(227, 68%, 48%)
CMYKcmyk(68.3%, 53.7%, 0%, 51.8%)
CIE-LABlab(26.12, 16.13, -39.82)
CIE-LCHlch(26.12, 42.97, 292.05°)
OKLaboklab(36.91% -0.0025 -0.1143)
OKLCHoklch(36.91% 0.114 268.7)
XYZxyz(5.8738, 4.7871, 19.3495)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27397B #7B6927
analogous
#27637B #27397B #3F277B
triadic
#27397B #7B2739 #397B27
tetradic
#27397B #7B2763 #7B6927 #277B3F
square
#27397B #7B2763 #7B6927 #277B3F
split-complementary
#27397B #7B3F27 #637B27
monochromatic
#0A0E1E #18234D #27397B #364FA9 #546DC9

Accessibility & contrast

On white

10.73
#27397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27397B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27397B#FFFFFF#000000##FFFFFF
##27397B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27397b;
/* rgb */ color: rgb(39, 57, 123);
/* oklch */ color: oklch(36.9% 0.114 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b6fa2',
    500: '#27397b',
    950: '#000000',
  },
}
SCSS
$custom: #27397b;
$custom-light: #6b6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#27397b",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 227.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36906,
    "c": 0.11432,
    "h": 268.7
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#27397B
secondary
#AD9951
accent
#BD4CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #27397B

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

Preview Lab → · Contrast checker → · Palette generator →

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