#314F86#314F86

#314F86 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.098 H 261.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#314F86
RGBrgb(49, 79, 134)
HSLhsl(219, 46%, 36%)
HSVhsv(219, 63%, 53%)
CMYKcmyk(63.4%, 41%, 0%, 47.5%)
CIE-LABlab(33.91, 7.27, -34.16)
CIE-LCHlch(33.91, 34.93, 282.01°)
OKLaboklab(43.25% -0.0144 -0.0971)
OKLCHoklch(43.25% 0.098 261.6)
XYZxyz(8.3642, 7.9654, 23.6463)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F86 #866831
analogous
#317986 #314F86 #3E3186
triadic
#314F86 #86314F #4F8631
tetradic
#314F86 #863179 #866831 #31863E
square
#314F86 #863179 #866831 #31863E
split-complementary
#314F86 #863E31 #798631
monochromatic
#101A2C #213559 #314F86 #4169B3 #698BC8

Accessibility & contrast

On white

8.10
#314F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F86
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F86#FFFFFF#000000##FFFFFF
##314F861.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314f86;
/* rgb */ color: rgb(49, 79, 134);
/* oklch */ color: oklch(43.3% 0.098 261.6);
Tailwind
colors: {
  custom: {
    50: '#7180a9',
    500: '#314f86',
    950: '#000000',
  },
}
SCSS
$custom: #314f86;
$custom-light: #7180a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314f86",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 218.824,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.09819,
    "h": 261.6
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#314F86
secondary
#B09563
accent
#A752D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #314F86

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

Preview Lab → · Contrast checker → · Palette generator →

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