#314D9D#314D9D

#314D9D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.134 H 266.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#314D9D
RGBrgb(49, 77, 157)
HSLhsl(224, 52%, 40%)
HSVhsv(224, 69%, 62%)
CMYKcmyk(68.8%, 51%, 0%, 38.4%)
CIE-LABlab(34.79, 17.15, -46.75)
CIE-LCHlch(34.79, 49.80, 290.15°)
OKLaboklab(44.4% -0.0083 -0.1341)
OKLCHoklch(44.4% 0.134 266.4)
XYZxyz(10.0042, 8.3941, 32.9847)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D9D #9D8131
analogous
#31839D #314D9D #4B319D
triadic
#314D9D #9D314D #4D9D31
tetradic
#314D9D #9D3183 #9D8131 #319D4B
square
#314D9D #9D3183 #9D8131 #319D4B
split-complementary
#314D9D #9D4B31 #839D31
monochromatic
#141F40 #22366E #314D9D #4667C5 #758DD4

Accessibility & contrast

On white

7.84
#314D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#314D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D9D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D9D#FFFFFF#000000##FFFFFF
##314D9D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314d9d;
/* rgb */ color: rgb(49, 77, 157);
/* oklch */ color: oklch(44.4% 0.134 266.4);
Tailwind
colors: {
  custom: {
    50: '#767eba',
    500: '#314d9d',
    950: '#000000',
  },
}
SCSS
$custom: #314d9d;
$custom-light: #767eba;
$custom-dark: #000000;
JSON
{
  "hex": "#314d9d",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 224.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.444,
    "c": 0.13441,
    "h": 266.4
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#314D9D
secondary
#BCA86E
accent
#B74CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #314D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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