#314CB8#314CB8

#314CB8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.173 H 268.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#314CB8
RGBrgb(49, 76, 184)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 73%, 72%)
CMYKcmyk(73.4%, 58.7%, 0%, 27.8%)
CIE-LABlab(36.52, 27.89, -60.03)
CIE-LCHlch(36.52, 66.19, 294.92°)
OKLaboklab(46.34% -0.0057 -0.1732)
OKLCHoklch(46.34% 0.173 268.1)
XYZxyz(12.4998, 9.2812, 46.4708)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB8 #B89D31
analogous
#318FB8 #314CB8 #5931B8
triadic
#314CB8 #B8314C #4CB831
tetradic
#314CB8 #B8318F #B89D31 #31B859
square
#314CB8 #B8318F #B89D31 #31B859
split-complementary
#314CB8 #B85931 #8FB831
monochromatic
#172457 #243888 #314CB8 #556ED2 #8597DE

Accessibility & contrast

On white

7.35
#314CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#314CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB8#FFFFFF#000000##FFFFFF
##314CB81.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314cb8;
/* rgb */ color: rgb(49, 76, 184);
/* oklch */ color: oklch(46.3% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#7c7dce',
    500: '#314cb8',
    950: '#000000',
  },
}
SCSS
$custom: #314cb8;
$custom-light: #7c7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb8",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 228,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.1733,
    "h": 268.1
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#314CB8
secondary
#C8B97D
accent
#C247E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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