#314C97#314C97

#314C97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.127 H 266.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#314C97
RGBrgb(49, 76, 151)
HSLhsl(224, 51%, 39%)
HSVhsv(224, 68%, 59%)
CMYKcmyk(67.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(34.10, 15.57, -44.24)
CIE-LCHlch(34.10, 46.90, 289.39°)
OKLaboklab(43.74% -0.0081 -0.1268)
OKLCHoklch(43.74% 0.127 266.3)
XYZxyz(9.4350, 8.0553, 30.3298)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C97 #977C31
analogous
#317F97 #314C97 #493197
triadic
#314C97 #97314C #4C9731
tetradic
#314C97 #97317F #977C31 #319749
square
#314C97 #97317F #977C31 #319749
split-complementary
#314C97 #974931 #7F9731
monochromatic
#131D3B #223569 #314C97 #4365C2 #718BD1

Accessibility & contrast

On white

8.04
#314C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#314C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C97
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C97#FFFFFF#000000##FFFFFF
##314C971.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#0A4C95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c97;
/* rgb */ color: rgb(49, 76, 151);
/* oklch */ color: oklch(43.7% 0.127 266.3);
Tailwind
colors: {
  custom: {
    50: '#757db6',
    500: '#314c97',
    950: '#000000',
  },
}
SCSS
$custom: #314c97;
$custom-light: #757db6;
$custom-dark: #000000;
JSON
{
  "hex": "#314c97",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 224.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.12703,
    "h": 266.3
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#314C97
secondary
#B9A46B
accent
#B54DDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C97

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

Preview Lab → · Contrast checker → · Palette generator →

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