#314D9F#314D9F

#314D9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.137 H 266.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#314D9F
RGBrgb(49, 77, 159)
HSLhsl(225, 53%, 41%)
HSVhsv(225, 69%, 62%)
CMYKcmyk(69.2%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.93, 17.90, -47.73)
CIE-LCHlch(34.93, 50.98, 290.56°)
OKLaboklab(44.55% -0.0081 -0.137)
OKLCHoklch(44.55% 0.137 266.6)
XYZxyz(10.1763, 8.4629, 33.8914)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D9F #9F8331
analogous
#31849F #314D9F #4C319F
triadic
#314D9F #9F314D #4D9F31
tetradic
#314D9F #9F3184 #9F8331 #319F4C
square
#314D9F #9F3184 #9F8331 #319F4C
split-complementary
#314D9F #9F4C31 #849F31
monochromatic
#142041 #233670 #314D9F #4767C6 #768ED5

Accessibility & contrast

On white

7.80
#314D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#314D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D9F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D9F#FFFFFF#000000##FFFFFF
##314D9F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314d9f;
/* rgb */ color: rgb(49, 77, 159);
/* oklch */ color: oklch(44.5% 0.137 266.6);
Tailwind
colors: {
  custom: {
    50: '#767ebc',
    500: '#314d9f',
    950: '#000000',
  },
}
SCSS
$custom: #314d9f;
$custom-light: #767ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#314d9f",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 224.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4455,
    "c": 0.13727,
    "h": 266.6
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#314D9F
secondary
#BDA96F
accent
#B74CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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