#27397E#27397E

#27397E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.119 H 268.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#27397E
RGBrgb(39, 57, 126)
HSLhsl(228, 53%, 32%)
HSVhsv(228, 69%, 49%)
CMYKcmyk(69%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.34, 17.29, -41.35)
CIE-LCHlch(26.34, 44.82, 292.69°)
OKLaboklab(37.15% -0.0022 -0.1188)
OKLCHoklch(37.15% 0.119 268.9)
XYZxyz(6.0644, 4.8634, 20.3537)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27397E #7E6C27
analogous
#27657E #27397E #40277E
triadic
#27397E #7E2739 #397E27
tetradic
#27397E #7E2765 #7E6C27 #277E40
square
#27397E #7E2765 #7E6C27 #277E40
split-complementary
#27397E #7E4027 #657E27
monochromatic
#0A0F21 #19244F #27397E #354EAD #556DCA

Accessibility & contrast

On white

10.64
#27397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#27397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27397E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27397E#FFFFFF#000000##FFFFFF
##27397E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27397e;
/* rgb */ color: rgb(39, 57, 126);
/* oklch */ color: oklch(37.1% 0.119 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6fa4',
    500: '#27397e',
    950: '#000000',
  },
}
SCSS
$custom: #27397e;
$custom-light: #6c6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#27397e",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 227.586,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37145,
    "c": 0.11881,
    "h": 268.9
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#27397E
secondary
#AF9C52
accent
#BE4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #27397E

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

Preview Lab → · Contrast checker → · Palette generator →

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