#314C87#314C87

#314C87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.103 H 264.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#314C87
RGBrgb(49, 76, 135)
HSLhsl(221, 47%, 36%)
HSVhsv(221, 64%, 53%)
CMYKcmyk(63.7%, 43.7%, 0%, 47.1%)
CIE-LABlab(33.07, 9.62, -36.11)
CIE-LCHlch(33.07, 37.37, 284.92°)
OKLaboklab(42.63% -0.0108 -0.1029)
OKLCHoklch(42.63% 0.103 264)
XYZxyz(8.2227, 7.5704, 23.9449)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C87 #876C31
analogous
#317787 #314C87 #413187
triadic
#314C87 #87314C #4C8731
tetradic
#314C87 #873177 #876C31 #318741
square
#314C87 #873177 #876C31 #318741
split-complementary
#314C87 #874131 #778731
monochromatic
#10192D #21335A #314C87 #4165B4 #6A87C9

Accessibility & contrast

On white

8.35
#314C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314C87
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C87#FFFFFF#000000##FFFFFF
##314C871.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314c87;
/* rgb */ color: rgb(49, 76, 135);
/* oklch */ color: oklch(42.6% 0.103 264.0);
Tailwind
colors: {
  custom: {
    50: '#727daa',
    500: '#314c87',
    950: '#000000',
  },
}
SCSS
$custom: #314c87;
$custom-light: #727daa;
$custom-dark: #000000;
JSON
{
  "hex": "#314c87",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 221.163,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.10346,
    "h": 264
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#314C87
secondary
#B09864
accent
#AD51D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314C87

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

Preview Lab → · Contrast checker → · Palette generator →

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