#27397A#27397A

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

Color values

HEX#27397A
RGBrgb(39, 57, 122)
HSLhsl(227, 52%, 32%)
HSVhsv(227, 68%, 48%)
CMYKcmyk(68%, 53.3%, 0%, 52.2%)
CIE-LABlab(26.05, 15.75, -39.31)
CIE-LCHlch(26.05, 42.35, 291.83°)
OKLaboklab(36.83% -0.0026 -0.1128)
OKLCHoklch(36.83% 0.113 268.7)
XYZxyz(5.8115, 4.7622, 19.0215)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27397A #7A6827
analogous
#27637A #27397A #3F277A
triadic
#27397A #7A2739 #397A27
tetradic
#27397A #7A2763 #7A6827 #277A3F
square
#27397A #7A2763 #7A6827 #277A3F
split-complementary
#27397A #7A3F27 #637A27
monochromatic
#090E1D #18234C #27397A #364FA8 #536DC8

Accessibility & contrast

On white

10.75
#27397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#27397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27397A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27397A#FFFFFF#000000##FFFFFF
##27397A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27397a;
/* rgb */ color: rgb(39, 57, 122);
/* oklch */ color: oklch(36.8% 0.113 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b6fa1',
    500: '#27397a',
    950: '#000000',
  },
}
SCSS
$custom: #27397a;
$custom-light: #6b6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#27397a",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 226.988,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36827,
    "c": 0.11281,
    "h": 268.7
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#27397A
secondary
#AC9851
accent
#BC4DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #27397A

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

Preview Lab → · Contrast checker → · Palette generator →

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