#314D9C#314D9C

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

Color values

HEX#314D9C
RGBrgb(49, 77, 156)
HSLhsl(224, 52%, 40%)
HSVhsv(224, 69%, 61%)
CMYKcmyk(68.6%, 50.6%, 0%, 38.8%)
CIE-LABlab(34.72, 16.78, -46.26)
CIE-LCHlch(34.72, 49.21, 289.93°)
OKLaboklab(44.33% -0.0084 -0.1327)
OKLCHoklch(44.33% 0.133 266.4)
XYZxyz(9.9192, 8.3601, 32.5370)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D9C #9C8031
analogous
#31829C #314D9C #4A319C
triadic
#314D9C #9C314D #4D9C31
tetradic
#314D9C #9C3182 #9C8031 #319C4A
square
#314D9C #9C3182 #9C8031 #319C4A
split-complementary
#314D9C #9C4A31 #829C31
monochromatic
#141F3F #22366D #314D9C #4567C5 #748DD3

Accessibility & contrast

On white

7.86
#314D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#314D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D9C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D9C#FFFFFF#000000##FFFFFF
##314D9C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314d9c;
/* rgb */ color: rgb(49, 77, 156);
/* oklch */ color: oklch(44.3% 0.133 266.4);
Tailwind
colors: {
  custom: {
    50: '#767eba',
    500: '#314d9c',
    950: '#000000',
  },
}
SCSS
$custom: #314d9c;
$custom-light: #767eba;
$custom-dark: #000000;
JSON
{
  "hex": "#314d9c",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 224.299,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.13297,
    "h": 266.4
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#314D9C
secondary
#BBA76D
accent
#B64CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #314D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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