#27497B#27497B

#27497B is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.093 H 258.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#27497B
RGBrgb(39, 73, 123)
HSLhsl(216, 52%, 32%)
HSVhsv(216, 68%, 48%)
CMYKcmyk(68.3%, 40.7%, 0%, 51.8%)
CIE-LABlab(30.94, 5.17, -32.10)
CIE-LCHlch(30.94, 32.52, 279.15°)
OKLaboklab(40.61% -0.0194 -0.0913)
OKLCHoklch(40.61% 0.093 258)
XYZxyz(6.7931, 6.6258, 19.6560)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27497B #7B5927
analogous
#27737B #27497B #2F277B
triadic
#27497B #7B2749 #497B27
tetradic
#27497B #7B2773 #7B5927 #277B2F
square
#27497B #7B2773 #7B5927 #277B2F
split-complementary
#27497B #7B2F27 #737B27
monochromatic
#0A121E #182D4D #27497B #3665A9 #5483C9

Accessibility & contrast

On white

9.03
#27497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27497B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27497B#FFFFFF#000000##FFFFFF
##27497B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27497b;
/* rgb */ color: rgb(39, 73, 123);
/* oklch */ color: oklch(40.6% 0.093 258.0);
Tailwind
colors: {
  custom: {
    50: '#6b7ba1',
    500: '#27497b',
    950: '#000000',
  },
}
SCSS
$custom: #27497b;
$custom-light: #6b7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#27497b",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 215.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.09339,
    "h": 258
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#27497B
secondary
#AD8851
accent
#A14CDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #27497B

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

Preview Lab → · Contrast checker → · Palette generator →

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