#314C96#314C96

#314C96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.126 H 266.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#314C96
RGBrgb(49, 76, 150)
HSLhsl(224, 51%, 39%)
HSVhsv(224, 67%, 59%)
CMYKcmyk(67.3%, 49.3%, 0%, 41.2%)
CIE-LABlab(34.03, 15.20, -43.74)
CIE-LCHlch(34.03, 46.31, 289.16°)
OKLaboklab(43.67% -0.0082 -0.1253)
OKLCHoklch(43.67% 0.126 266.2)
XYZxyz(9.3542, 8.0230, 29.9039)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C96 #967B31
analogous
#317F96 #314C96 #483196
triadic
#314C96 #96314C #4C9631
tetradic
#314C96 #96317F #967B31 #319648
square
#314C96 #96317F #967B31 #319648
split-complementary
#314C96 #964831 #7F9631
monochromatic
#131D3A #223568 #314C96 #4365C1 #718AD1

Accessibility & contrast

On white

8.06
#314C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#314C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C96
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C96#FFFFFF#000000##FFFFFF
##314C961.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#0D4C94
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c96;
/* rgb */ color: rgb(49, 76, 150);
/* oklch */ color: oklch(43.7% 0.126 266.2);
Tailwind
colors: {
  custom: {
    50: '#757db5',
    500: '#314c96',
    950: '#000000',
  },
}
SCSS
$custom: #314c96;
$custom-light: #757db5;
$custom-dark: #000000;
JSON
{
  "hex": "#314c96",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 223.96,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.12558,
    "h": 266.2
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#314C96
secondary
#B8A46A
accent
#B54EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C96

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

Preview Lab → · Contrast checker → · Palette generator →

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