#314979#314979

#314979 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.086 H 263.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#314979
RGBrgb(49, 73, 121)
HSLhsl(220, 42%, 33%)
HSVhsv(220, 60%, 47%)
CMYKcmyk(59.5%, 39.7%, 0%, 52.5%)
CIE-LABlab(31.34, 6.51, -30.18)
CIE-LCHlch(31.34, 30.88, 282.16°)
OKLaboklab(41.02% -0.0105 -0.0855)
OKLCHoklch(41.02% 0.086 263)
XYZxyz(7.0992, 6.7980, 19.0235)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314979 #796131
analogous
#316D79 #314979 #3D3179
triadic
#314979 #793149 #497931
tetradic
#314979 #79316D #796131 #31793D
square
#314979 #79316D #796131 #31793D
split-complementary
#314979 #793D31 #6D7931
monochromatic
#0E1422 #1F2F4D #314979 #4363A5 #6483C0

Accessibility & contrast

On white

8.90
#314979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#314979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314979
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314979#FFFFFF#000000##FFFFFF
##3149791.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314979;
/* rgb */ color: rgb(49, 73, 121);
/* oklch */ color: oklch(41.0% 0.086 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ba0',
    500: '#314979',
    950: '#000000',
  },
}
SCSS
$custom: #314979;
$custom-light: #6f7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#314979",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 220,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41021,
    "c": 0.08619,
    "h": 263
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#314979
secondary
#A88F5E
accent
#A956D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314979

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

Preview Lab → · Contrast checker → · Palette generator →

#314979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva