#314C79#314C79

#314C79 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.7% C 0.082 H 260.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#314C79
RGBrgb(49, 76, 121)
HSLhsl(218, 42%, 33%)
HSVhsv(218, 60%, 47%)
CMYKcmyk(59.5%, 37.2%, 0%, 52.5%)
CIE-LABlab(32.26, 4.52, -28.73)
CIE-LCHlch(32.26, 29.08, 278.94°)
OKLaboklab(41.73% -0.0141 -0.0813)
OKLCHoklch(41.73% 0.082 260.1)
XYZxyz(7.3011, 7.2017, 19.0908)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C79 #795E31
analogous
#317079 #314C79 #3A3179
triadic
#314C79 #79314C #4C7931
tetradic
#314C79 #793170 #795E31 #31793A
square
#314C79 #793170 #795E31 #31793A
split-complementary
#314C79 #793A31 #707931
monochromatic
#0E1522 #1F314D #314C79 #4367A5 #6487C0

Accessibility & contrast

On white

8.61
#314C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#314C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C79
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C79#FFFFFF#000000##FFFFFF
##314C791.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507B
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314c79;
/* rgb */ color: rgb(49, 76, 121);
/* oklch */ color: oklch(41.7% 0.082 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7da0',
    500: '#314c79',
    950: '#000000',
  },
}
SCSS
$custom: #314c79;
$custom-light: #6f7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#314c79",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 121
  },
  "hsl": {
    "h": 217.5,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.08249,
    "h": 260.1
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#314C79
secondary
#A88C5E
accent
#A356D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314C79

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

Preview Lab → · Contrast checker → · Palette generator →

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