#27477D#27477D

#27477D is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.099 H 260.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#27477D
RGBrgb(39, 71, 125)
HSLhsl(218, 52%, 32%)
HSVhsv(218, 69%, 49%)
CMYKcmyk(68.8%, 43.2%, 0%, 51%)
CIE-LABlab(30.44, 7.28, -34.14)
CIE-LCHlch(30.44, 34.91, 282.04°)
OKLaboklab(40.26% -0.0168 -0.0974)
OKLCHoklch(40.26% 0.099 260.2)
XYZxyz(6.7903, 6.4178, 20.2790)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27477D #7D5D27
analogous
#27727D #27477D #32277D
triadic
#27477D #7D2747 #477D27
tetradic
#27477D #7D2772 #7D5D27 #277D32
square
#27477D #7D2772 #7D5D27 #277D32
split-complementary
#27477D #7D3227 #727D27
monochromatic
#0A1220 #182D4E #27477D #3661AC #5580CA

Accessibility & contrast

On white

9.20
#27477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#27477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27477D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27477D#FFFFFF#000000##FFFFFF
##27477D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27477d;
/* rgb */ color: rgb(39, 71, 125);
/* oklch */ color: oklch(40.3% 0.099 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b79a3',
    500: '#27477d',
    950: '#000000',
  },
}
SCSS
$custom: #27477d;
$custom-light: #6b79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27477d",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 217.674,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.09879,
    "h": 260.2
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#27477D
secondary
#AF8C51
accent
#A64CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27477D

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

Preview Lab → · Contrast checker → · Palette generator →

#27477D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva