#314684#314684

#314684 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.107 H 267.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#314684
RGBrgb(49, 70, 132)
HSLhsl(225, 46%, 35%)
HSVhsv(225, 63%, 52%)
CMYKcmyk(62.9%, 47%, 0%, 48.2%)
CIE-LABlab(31.11, 12.54, -37.39)
CIE-LCHlch(31.11, 39.44, 288.53°)
OKLaboklab(41.06% -0.0047 -0.1067)
OKLCHoklch(41.06% 0.107 267.5)
XYZxyz(7.6202, 6.6986, 22.7167)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314684 #846F31
analogous
#316F84 #314684 #453184
triadic
#314684 #843146 #468431
tetradic
#314684 #84316F #846F31 #318445
square
#314684 #84316F #846F31 #318445
split-complementary
#314684 #844531 #6F8431
monochromatic
#10172B #202E57 #314684 #425EB1 #6880C7

Accessibility & contrast

On white

8.98
#314684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#314684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314684
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314684#FFFFFF#000000##FFFFFF
##3146841.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#1C4683
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314684;
/* rgb */ color: rgb(49, 70, 132);
/* oklch */ color: oklch(41.1% 0.107 267.5);
Tailwind
colors: {
  custom: {
    50: '#7179a8',
    500: '#314684',
    950: '#000000',
  },
}
SCSS
$custom: #314684;
$custom-light: #7179a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314684",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 224.819,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.10683,
    "h": 267.5
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#314684
secondary
#AE9B62
accent
#B452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314684

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

Preview Lab → · Contrast checker → · Palette generator →

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