#314C99#314C99

#314C99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.130 H 266.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#314C99
RGBrgb(49, 76, 153)
HSLhsl(224, 51%, 40%)
HSVhsv(224, 68%, 60%)
CMYKcmyk(68%, 50.3%, 0%, 40%)
CIE-LABlab(34.23, 16.32, -45.23)
CIE-LCHlch(34.23, 48.09, 289.84°)
OKLaboklab(43.89% -0.0078 -0.1297)
OKLCHoklch(43.89% 0.13 266.5)
XYZxyz(9.5988, 8.1208, 31.1924)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C99 #997E31
analogous
#318099 #314C99 #4A3199
triadic
#314C99 #99314C #4C9931
tetradic
#314C99 #993180 #997E31 #31994A
square
#314C99 #993180 #997E31 #31994A
split-complementary
#314C99 #994A31 #809931
monochromatic
#131E3C #22356B #314C99 #4465C3 #728BD2

Accessibility & contrast

On white

8.00
#314C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#314C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C99
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C99#FFFFFF#000000##FFFFFF
##314C991.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c99;
/* rgb */ color: rgb(49, 76, 153);
/* oklch */ color: oklch(43.9% 0.130 266.5);
Tailwind
colors: {
  custom: {
    50: '#757db8',
    500: '#314c99',
    950: '#000000',
  },
}
SCSS
$custom: #314c99;
$custom-light: #757db8;
$custom-dark: #000000;
JSON
{
  "hex": "#314c99",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 224.423,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.12994,
    "h": 266.5
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#314C99
secondary
#BAA66C
accent
#B64DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C99

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

Preview Lab → · Contrast checker → · Palette generator →

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