#314C86#314C86

#314C86 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.102 H 263.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#314C86
RGBrgb(49, 76, 134)
HSLhsl(221, 46%, 36%)
HSVhsv(221, 63%, 53%)
CMYKcmyk(63.4%, 43.3%, 0%, 47.5%)
CIE-LABlab(33.01, 9.25, -35.60)
CIE-LCHlch(33.01, 36.78, 284.57°)
OKLaboklab(42.56% -0.011 -0.1014)
OKLCHoklch(42.56% 0.102 263.8)
XYZxyz(8.1527, 7.5424, 23.5758)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C86 #866B31
analogous
#317686 #314C86 #403186
triadic
#314C86 #86314C #4C8631
tetradic
#314C86 #863176 #866B31 #318640
square
#314C86 #863176 #866B31 #318640
split-complementary
#314C86 #864031 #768631
monochromatic
#10192C #213359 #314C86 #4165B3 #6987C8

Accessibility & contrast

On white

8.37
#314C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#314C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C86
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C86#FFFFFF#000000##FFFFFF
##314C861.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314c86;
/* rgb */ color: rgb(49, 76, 134);
/* oklch */ color: oklch(42.6% 0.102 263.8);
Tailwind
colors: {
  custom: {
    50: '#727da9',
    500: '#314c86',
    950: '#000000',
  },
}
SCSS
$custom: #314c86;
$custom-light: #727da9;
$custom-dark: #000000;
JSON
{
  "hex": "#314c86",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 134
  },
  "hsl": {
    "h": 220.941,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.10196,
    "h": 263.8
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#314C86
secondary
#B09763
accent
#AC52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314C86

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

Preview Lab → · Contrast checker → · Palette generator →

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