#314D95#314D95

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

Color values

HEX#314D95
RGBrgb(49, 77, 149)
HSLhsl(223, 51%, 39%)
HSVhsv(223, 67%, 58%)
CMYKcmyk(67.1%, 48.3%, 0%, 41.6%)
CIE-LABlab(34.25, 14.16, -42.78)
CIE-LCHlch(34.25, 45.06, 288.31°)
OKLaboklab(43.82% -0.0094 -0.1225)
OKLCHoklch(43.82% 0.123 265.6)
XYZxyz(9.3434, 8.1298, 29.5047)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D95 #957931
analogous
#317F95 #314D95 #473195
triadic
#314D95 #95314D #4D9531
tetradic
#314D95 #95317F #957931 #319547
square
#314D95 #95317F #957931 #319547
split-complementary
#314D95 #954731 #7F9531
monochromatic
#131D39 #223567 #314D95 #4266C1 #708BD0

Accessibility & contrast

On white

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

On black

2.63
#314D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##314D95#FFFFFF#000000##FFFFFF
##314D951.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314d95;
/* rgb */ color: rgb(49, 77, 149);
/* oklch */ color: oklch(43.8% 0.123 265.6);
Tailwind
colors: {
  custom: {
    50: '#747eb5',
    500: '#314d95',
    950: '#000000',
  },
}
SCSS
$custom: #314d95;
$custom-light: #747eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#314d95",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 223.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.12282,
    "h": 265.6
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#314D95
secondary
#B8A26A
accent
#B34EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314D95

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

Preview Lab → · Contrast checker → · Palette generator →

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