#314A77#314A77

#314A77 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.082 H 261.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#314A77
RGBrgb(49, 74, 119)
HSLhsl(219, 42%, 33%)
HSVhsv(219, 59%, 47%)
CMYKcmyk(58.8%, 37.8%, 0%, 53.3%)
CIE-LABlab(31.54, 5.12, -28.63)
CIE-LCHlch(31.54, 29.08, 280.15°)
OKLaboklab(41.14% -0.0122 -0.081)
OKLCHoklch(41.14% 0.082 261.4)
XYZxyz(7.0440, 6.8819, 18.4063)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A77 #775E31
analogous
#316D77 #314A77 #3B3177
triadic
#314A77 #77314A #4A7731
tetradic
#314A77 #77316D #775E31 #31773B
square
#314A77 #77316D #775E31 #31773B
split-complementary
#314A77 #773B31 #6D7731
monochromatic
#0D1420 #1F2F4C #314A77 #4365A2 #6384BF

Accessibility & contrast

On white

8.84
#314A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#314A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A77
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A77#FFFFFF#000000##FFFFFF
##314A771.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#01545B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314a77;
/* rgb */ color: rgb(49, 74, 119);
/* oklch */ color: oklch(41.1% 0.082 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7c9e',
    500: '#314a77',
    950: '#000000',
  },
}
SCSS
$custom: #314a77;
$custom-light: #6f7c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#314a77",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 119
  },
  "hsl": {
    "h": 218.571,
    "s": 41.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.0819,
    "h": 261.4
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#314A77
secondary
#A68C5D
accent
#A556D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314A77

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

Preview Lab → · Contrast checker → · Palette generator →

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