#27478F#27478F

#27478F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.125 H 263.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#27478F
RGBrgb(39, 71, 143)
HSLhsl(222, 57%, 36%)
HSVhsv(222, 73%, 56%)
CMYKcmyk(72.7%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.62, 14.27, -43.37)
CIE-LCHlch(31.62, 45.66, 288.21°)
OKLaboklab(41.55% -0.0135 -0.1245)
OKLCHoklch(41.55% 0.125 263.8)
XYZxyz(8.0461, 6.9201, 26.8930)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27478F #8F6F27
analogous
#277B8F #27478F #3B278F
triadic
#27478F #8F2747 #478F27
tetradic
#27478F #8F277B #8F6F27 #278F3B
square
#27478F #8F277B #8F6F27 #278F3B
split-complementary
#27478F #8F3B27 #7B8F27
monochromatic
#0D172F #1A2F5F #27478F #345FBF #5D82D3

Accessibility & contrast

On white

8.81
#27478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#27478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27478F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27478F#FFFFFF#000000##FFFFFF
##27478F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27478f;
/* rgb */ color: rgb(39, 71, 143);
/* oklch */ color: oklch(41.5% 0.125 263.8);
Tailwind
colors: {
  custom: {
    50: '#6f79b0',
    500: '#27478f',
    950: '#000000',
  },
}
SCSS
$custom: #27478f;
$custom-light: #6f79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27478f",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 221.538,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.12524,
    "h": 263.8
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#27478F
secondary
#B89B5A
accent
#B147E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27478F

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

Preview Lab → · Contrast checker → · Palette generator →

#27478F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva