#314D9B#314D9B

#314D9B is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.132 H 266.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#314D9B
RGBrgb(49, 77, 155)
HSLhsl(224, 52%, 40%)
HSVhsv(224, 68%, 61%)
CMYKcmyk(68.4%, 50.3%, 0%, 39.2%)
CIE-LABlab(34.65, 16.40, -45.77)
CIE-LCHlch(34.65, 48.62, 289.72°)
OKLaboklab(44.25% -0.0086 -0.1312)
OKLCHoklch(44.25% 0.132 266.3)
XYZxyz(9.8348, 8.3263, 32.0928)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D9B #9B7F31
analogous
#31829B #314D9B #4A319B
triadic
#314D9B #9B314D #4D9B31
tetradic
#314D9B #9B3182 #9B7F31 #319B4A
square
#314D9B #9B3182 #9B7F31 #319B4A
split-complementary
#314D9B #9B4A31 #829B31
monochromatic
#141F3E #22366D #314D9B #4567C4 #738DD3

Accessibility & contrast

On white

7.88
#314D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314D9B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D9B#FFFFFF#000000##FFFFFF
##314D9B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579E
Deuteranopia (green-blind)
#014D99
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314d9b;
/* rgb */ color: rgb(49, 77, 155);
/* oklch */ color: oklch(44.3% 0.132 266.3);
Tailwind
colors: {
  custom: {
    50: '#767eb9',
    500: '#314d9b',
    950: '#000000',
  },
}
SCSS
$custom: #314d9b;
$custom-light: #767eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#314d9b",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 224.151,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.13153,
    "h": 266.3
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#314D9B
secondary
#BBA66D
accent
#B64CDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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