#314E87#314E87

#314E87 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.101 H 262.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#314E87
RGBrgb(49, 78, 135)
HSLhsl(220, 47%, 36%)
HSVhsv(220, 64%, 53%)
CMYKcmyk(63.7%, 42.2%, 0%, 47.1%)
CIE-LABlab(33.67, 8.29, -35.16)
CIE-LCHlch(33.67, 36.13, 283.27°)
OKLaboklab(43.09% -0.013 -0.1001)
OKLCHoklch(43.09% 0.101 262.6)
XYZxyz(8.3627, 7.8503, 23.9915)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E87 #876A31
analogous
#317987 #314E87 #3F3187
triadic
#314E87 #87314E #4E8731
tetradic
#314E87 #873179 #876A31 #31873F
square
#314E87 #873179 #876A31 #31873F
split-complementary
#314E87 #873F31 #798731
monochromatic
#101A2D #21345A #314E87 #4168B4 #6A8AC9

Accessibility & contrast

On white

8.17
#314E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#314E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E87
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E87#FFFFFF#000000##FFFFFF
##314E871.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355389
Deuteranopia (green-blind)
#284C86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314e87;
/* rgb */ color: rgb(49, 78, 135);
/* oklch */ color: oklch(43.1% 0.101 262.6);
Tailwind
colors: {
  custom: {
    50: '#727faa',
    500: '#314e87',
    950: '#000000',
  },
}
SCSS
$custom: #314e87;
$custom-light: #727faa;
$custom-dark: #000000;
JSON
{
  "hex": "#314e87",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 219.767,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.10092,
    "h": 262.6
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#314E87
secondary
#B09664
accent
#AA51D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #314E87

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

Preview Lab → · Contrast checker → · Palette generator →

#314E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva