#314D89#314D89

#314D89 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.105 H 263.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#314D89
RGBrgb(49, 77, 137)
HSLhsl(221, 47%, 36%)
HSVhsv(221, 64%, 54%)
CMYKcmyk(64.2%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.49, 9.70, -36.67)
CIE-LCHlch(33.49, 37.93, 284.81°)
OKLaboklab(42.99% -0.0115 -0.1045)
OKLCHoklch(42.99% 0.105 263.7)
XYZxyz(8.4343, 7.7661, 24.7166)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D89 #896D31
analogous
#317989 #314D89 #413189
triadic
#314D89 #89314D #4D8931
tetradic
#314D89 #893179 #896D31 #318941
square
#314D89 #893179 #896D31 #318941
split-complementary
#314D89 #894131 #798931
monochromatic
#111A2F #21345C #314D89 #4166B6 #6B89CA

Accessibility & contrast

On white

8.22
#314D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#314D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D89
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D89#FFFFFF#000000##FFFFFF
##314D891.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314d89;
/* rgb */ color: rgb(49, 77, 137);
/* oklch */ color: oklch(43.0% 0.105 263.7);
Tailwind
colors: {
  custom: {
    50: '#727eac',
    500: '#314d89',
    950: '#000000',
  },
}
SCSS
$custom: #314d89;
$custom-light: #727eac;
$custom-dark: #000000;
JSON
{
  "hex": "#314d89",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 220.909,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.10515,
    "h": 263.7
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#314D89
secondary
#B19964
accent
#AC51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314D89

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

Preview Lab → · Contrast checker → · Palette generator →

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