#314A82#314A82

#314A82 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.099 H 264.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#314A82
RGBrgb(49, 74, 130)
HSLhsl(221, 45%, 35%)
HSVhsv(221, 62%, 51%)
CMYKcmyk(62.3%, 43.1%, 0%, 49%)
CIE-LABlab(32.17, 9.12, -34.46)
CIE-LCHlch(32.17, 35.65, 284.82°)
OKLaboklab(41.83% -0.0096 -0.0981)
OKLCHoklch(41.83% 0.099 264.4)
XYZxyz(7.7433, 7.1616, 22.0890)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A82 #826931
analogous
#317382 #314A82 #403182
triadic
#314A82 #82314A #4A8231
tetradic
#314A82 #823173 #826931 #318240
square
#314A82 #823173 #826931 #318240
split-complementary
#314A82 #824031 #738231
monochromatic
#0F1729 #203156 #314A82 #4263AE #6885C6

Accessibility & contrast

On white

8.63
#314A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#314A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A82
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A82#FFFFFF#000000##FFFFFF
##314A821.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315084
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314a82;
/* rgb */ color: rgb(49, 74, 130);
/* oklch */ color: oklch(41.8% 0.099 264.4);
Tailwind
colors: {
  custom: {
    50: '#717ca6',
    500: '#314a82',
    950: '#000000',
  },
}
SCSS
$custom: #314a82;
$custom-light: #717ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#314a82",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 221.481,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.09854,
    "h": 264.4
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#314A82
secondary
#AD9662
accent
#AD53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314A82

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

Preview Lab → · Contrast checker → · Palette generator →

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