#314C9D#314C9D

#314C9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.136 H 266.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#314C9D
RGBrgb(49, 76, 157)
HSLhsl(225, 52%, 40%)
HSVhsv(225, 69%, 62%)
CMYKcmyk(68.8%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.51, 17.82, -47.21)
CIE-LCHlch(34.51, 50.46, 290.68°)
OKLaboklab(44.19% -0.0074 -0.1355)
OKLCHoklch(44.19% 0.136 266.9)
XYZxyz(9.9348, 8.2552, 32.9616)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C9D #9D8231
analogous
#31829D #314C9D #4C319D
triadic
#314C9D #9D314C #4C9D31
tetradic
#314C9D #9D3182 #9D8231 #319D4C
square
#314C9D #9D3182 #9D8231 #319D4C
split-complementary
#314C9D #9D4C31 #829D31
monochromatic
#141F40 #22356E #314C9D #4666C5 #758CD4

Accessibility & contrast

On white

7.92
#314C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#314C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C9D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C9D#FFFFFF#000000##FFFFFF
##314C9D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314c9d;
/* rgb */ color: rgb(49, 76, 157);
/* oklch */ color: oklch(44.2% 0.136 266.9);
Tailwind
colors: {
  custom: {
    50: '#767dba',
    500: '#314c9d',
    950: '#000000',
  },
}
SCSS
$custom: #314c9d;
$custom-light: #767dba;
$custom-dark: #000000;
JSON
{
  "hex": "#314c9d",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 225,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44186,
    "c": 0.1357,
    "h": 266.9
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#314C9D
secondary
#BCA86E
accent
#B84CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #314C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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