#27497C#27497C

#27497C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.095 H 258.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#27497C
RGBrgb(39, 73, 124)
HSLhsl(216, 52%, 32%)
HSVhsv(216, 69%, 49%)
CMYKcmyk(68.5%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.00, 5.55, -32.63)
CIE-LCHlch(31.00, 33.10, 279.66°)
OKLaboklab(40.67% -0.0192 -0.0929)
OKLCHoklch(40.67% 0.095 258.3)
XYZxyz(6.8560, 6.6510, 19.9873)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27497C #7C5A27
analogous
#27747C #27497C #30277C
triadic
#27497C #7C2749 #497C27
tetradic
#27497C #7C2774 #7C5A27 #277C30
square
#27497C #7C2774 #7C5A27 #277C30
split-complementary
#27497C #7C3027 #747C27
monochromatic
#0A121F #182E4D #27497C #3664AB #5483C9

Accessibility & contrast

On white

9.01
#27497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#27497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27497C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27497C#FFFFFF#000000##FFFFFF
##27497C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27497c;
/* rgb */ color: rgb(39, 73, 124);
/* oklch */ color: oklch(40.7% 0.095 258.3);
Tailwind
colors: {
  custom: {
    50: '#6b7ba2',
    500: '#27497c',
    950: '#000000',
  },
}
SCSS
$custom: #27497c;
$custom-light: #6b7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#27497c",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 216,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.09487,
    "h": 258.3
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#27497C
secondary
#AE8951
accent
#A24CDC
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27497C

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

Preview Lab → · Contrast checker → · Palette generator →

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