#314784#314784

#314784 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.105 H 266.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#314784
RGBrgb(49, 71, 132)
HSLhsl(224, 46%, 35%)
HSVhsv(224, 63%, 52%)
CMYKcmyk(62.9%, 46.2%, 0%, 48.2%)
CIE-LABlab(31.40, 11.86, -36.92)
CIE-LCHlch(31.40, 38.78, 287.81°)
OKLaboklab(41.28% -0.0058 -0.1053)
OKLCHoklch(41.28% 0.105 266.9)
XYZxyz(7.6833, 6.8247, 22.7377)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314784 #846E31
analogous
#317084 #314784 #443184
triadic
#314784 #843147 #478431
tetradic
#314784 #843170 #846E31 #318444
square
#314784 #843170 #846E31 #318444
split-complementary
#314784 #844431 #708431
monochromatic
#10172B #202F57 #314784 #425FB1 #6881C7

Accessibility & contrast

On white

8.88
#314784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#314784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314784
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314784#FFFFFF#000000##FFFFFF
##3147841.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#1E4683
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314784;
/* rgb */ color: rgb(49, 71, 132);
/* oklch */ color: oklch(41.3% 0.105 266.9);
Tailwind
colors: {
  custom: {
    50: '#7179a8',
    500: '#314784',
    950: '#000000',
  },
}
SCSS
$custom: #314784;
$custom-light: #7179a8;
$custom-dark: #000000;
JSON
{
  "hex": "#314784",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 224.096,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.10549,
    "h": 266.9
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#314784
secondary
#AE9A62
accent
#B352D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314784

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

Preview Lab → · Contrast checker → · Palette generator →

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