#314D99#314D99

#314D99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.129 H 266.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#314D99
RGBrgb(49, 77, 153)
HSLhsl(224, 51%, 40%)
HSVhsv(224, 68%, 60%)
CMYKcmyk(68%, 49.7%, 0%, 40%)
CIE-LABlab(34.52, 15.65, -44.78)
CIE-LCHlch(34.52, 47.43, 289.27°)
OKLaboklab(44.11% -0.0088 -0.1283)
OKLCHoklch(44.11% 0.129 266.1)
XYZxyz(9.6683, 8.2597, 31.2156)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D99 #997D31
analogous
#318199 #314D99 #493199
triadic
#314D99 #99314D #4D9931
tetradic
#314D99 #993181 #997D31 #319949
square
#314D99 #993181 #997D31 #319949
split-complementary
#314D99 #994931 #819931
monochromatic
#131E3C #22366B #314D99 #4466C3 #728CD2

Accessibility & contrast

On white

7.92
#314D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#314D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D99
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D99#FFFFFF#000000##FFFFFF
##314D991.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#084D97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314d99;
/* rgb */ color: rgb(49, 77, 153);
/* oklch */ color: oklch(44.1% 0.129 266.1);
Tailwind
colors: {
  custom: {
    50: '#757eb7',
    500: '#314d99',
    950: '#000000',
  },
}
SCSS
$custom: #314d99;
$custom-light: #757eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#314d99",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 223.846,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.12863,
    "h": 266.1
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#314D99
secondary
#BAA56C
accent
#B54DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314D99

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

Preview Lab → · Contrast checker → · Palette generator →

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